Small memory leak due to recent cfg.c patches
"Oded Arbel" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <[email protected]> |
Patch attached -- Oded Arbel m-Wise Inc. [email protected] large, demanding applications are routinely being built in Lisp, and they just work. miniscule undertakings in the C++ world are foreshadowed by reams of articles in the popular press, and later hailed as successes of the language, despite regular delays and losses, when the reality is that any successes are restricted to marketing techniques. -- Erik Naggum
cfg.patch
(application/octet-stream, 272 B)
--- ../kannel-dev/gateway/gwlib/cfg.c Sun Mar 10 13:01:34 2002
+++ gwlib/cfg.c Sun Mar 10 13:27:19 2002
@@ -38,6 +38,8 @@
octstr_destroy(grp->configfile);
dict_destroy(grp->vars);
gw_free(grp);
+ if (grp->configfile)
+ octstr_destroy(grp->configfile);
}
}