From: Ben Pfaff Date: Wed, 10 May 2006 03:56:04 +0000 (+0000) Subject: Fix memory leak in MATCH FILES. X-Git-Tag: v0.6.0~863 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d988fcc34683f37658be9f234ce02d29946524c5;p=pspp-builds.git Fix memory leak in MATCH FILES. --- diff --git a/src/language/data-io/ChangeLog b/src/language/data-io/ChangeLog index 422e6a6c..21b2ed3c 100644 --- a/src/language/data-io/ChangeLog +++ b/src/language/data-io/ChangeLog @@ -1,3 +1,7 @@ +Tue May 9 20:55:46 2006 Ben Pfaff + + * get.c (cmd_match_files): Fix memory leak replacing default_dict. + Sat May 6 22:25:09 2006 Ben Pfaff Fix segfault. diff --git a/src/language/data-io/get.c b/src/language/data-io/get.c index eb0a5ceb..2657b506 100644 --- a/src/language/data-io/get.c +++ b/src/language/data-io/get.c @@ -1139,6 +1139,7 @@ cmd_match_files (void) discard_variables (); + dict_destroy (default_dict); default_dict = mtf.dict; mtf.dict = NULL; proc_set_source (storage_source_create (mtf.output));