Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=xbdmenu.git;a=commitdiff;h=0e164c186cadc5d3f14854d94c77dfd73e48ff46
commit 0e164c186cadc5d3f14854d94c77dfd73e48ff46 Author: James Buren <[email protected]> Date: Thu Mar 12 10:40:38 2009 -0500 mem.c * add env to cleanup and includes diff --git a/mem.c b/mem.c index 7c92f12..5b88b8b 100644 --- a/mem.c +++ b/mem.c @@ -2,6 +2,7 @@ #include <stdio.h> #include <string.h> #include "mem.h" +#include "env.h" /* the reference counter */ static unsigned int rc; @@ -42,6 +43,7 @@ extern void zfree(void *ptr) /* cleanup global variables */ extern void cleanup(void) { + env_end(); if(rc>0) printf("Reference count of objects not freed: %d\n",rc); } _______________________________________________ Frugalware-git mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-git
