From 89661039e64c2bda951d2309daafc47e92f60cea Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sat, 7 May 2011 09:37:00 -0700 Subject: [PATCH] dataset: Fix memory leak. Reported by John Darrington. --- src/data/dataset.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/data/dataset.c b/src/data/dataset.c index 10009f4a..26c3a492 100644 --- a/src/data/dataset.c +++ b/src/data/dataset.c @@ -203,6 +203,7 @@ dataset_destroy (struct dataset *ds) caseinit_destroy (ds->caseinit); trns_chain_destroy (ds->permanent_trns_chain); dataset_transformations_changed__ (ds, false); + free (ds->name); free (ds); } } -- 2.30.2