From: Peter Verthez Date: Sun, 26 Jan 2003 16:48:28 +0000 (+0000) Subject: Fixed memory leak. X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=83b1b8c2545fb21b40e2c7cdf7eceb82d3ceda1e;p=gedcom-parse.git Fixed memory leak. --- diff --git a/gom/submission.c b/gom/submission.c index 3aed081..cbdde56 100644 --- a/gom/submission.c +++ b/gom/submission.c @@ -75,6 +75,7 @@ void CLEANFUNC(submission)() SAFE_FREE(gom_submission->record_id); DESTROY_CHAIN_ELTS(user_data, gom_submission->extra); } + SAFE_FREE(gom_submission); } struct submission* gom_get_submission()