Fixed memory leak.
authorPeter Verthez <Peter.Verthez@advalvas.be>
Sun, 26 Jan 2003 16:48:28 +0000 (16:48 +0000)
committerPeter Verthez <Peter.Verthez@advalvas.be>
Sun, 26 Jan 2003 16:48:28 +0000 (16:48 +0000)
gom/submission.c

index 3aed081f0da239d8ffcc99dd58ae7f105b8aadb2..cbdde5624537038d57f5c6845fc830d97168daef 100644 (file)
@@ -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()