Changeset: 3e6453e7136a for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=3e6453e7136a
Modified Files:
monetdb5/mal/mal_client.c
Branch: default
Log Message:
memory leak indication.
The module administration should be revamped to deal better
with dropping user-defined modules, retaining global ones.
diffs (14 lines):
diff --git a/monetdb5/mal/mal_client.c b/monetdb5/mal/mal_client.c
--- a/monetdb5/mal/mal_client.c
+++ b/monetdb5/mal/mal_client.c
@@ -223,7 +223,9 @@ MCinitClientRecord(Client c, oid user, b
c->curprg = c->backup = 0;
c->glb = 0;
- /* remove garbage from previous connection */
+ /* remove garbage from previous connection
+ * be aware, a user can introduce several modules
+ * that should be freed to avoid memory leaks */
if (c->nspace) {
freeModule(c->nspace);
c->nspace = 0;
_______________________________________________
checkin-list mailing list
[email protected]
https://www.monetdb.org/mailman/listinfo/checkin-list