From 43d480057b2255d4fc82cc4eded038bcea0b5cb6 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 10 Mar 2005 17:55:37 +0000 Subject: 20959: fix crash unloading zsh/parameter and test the fix --- Src/Modules/parameter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Src/Modules/parameter.c') diff --git a/Src/Modules/parameter.c b/Src/Modules/parameter.c index 966b26e6f..faa18a92d 100644 --- a/Src/Modules/parameter.c +++ b/Src/Modules/parameter.c @@ -1817,7 +1817,7 @@ struct pardef { * in a compile-time initialiser, so we use this instead. */ static const struct gsu_hash pmnullsethash_gsu = -{ hashgetfn, nullsethashfn, NULL }; +{ hashgetfn, nullsethashfn, nullunsetfn }; static const struct gsu_hash pmcommands_gsu = { hashgetfn, setpmcommands, stdunsetfn }; static const struct gsu_hash pmfunctions_gsu = -- cgit 1.4.1