From d988fcc34683f37658be9f234ce02d29946524c5 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Wed, 10 May 2006 03:56:04 +0000 Subject: [PATCH] Fix memory leak in MATCH FILES. --- src/language/data-io/ChangeLog | 4 ++++ src/language/data-io/get.c | 1 + 2 files changed, 5 insertions(+) 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)); -- 2.30.2