nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nano-devel] Oops: More on 1.1.6 Memory leaks


From: Steven Kneizys
Subject: [Nano-devel] Oops: More on 1.1.6 Memory leaks
Date: Tue, 19 Feb 2002 06:54:52 -0800 (PST)

This part of my patch is bad!  Sorry!  The end of *do_browser cannot
release like this, I forgot to remove this from my source.  It will
cause seg faults ;-).  After removing it (putting this part back to
normal) the other changes seem to have caught the mem leak.

@@ -2583,6 +2664,8 @@
     /* cleanup */
     free_charptrarray(filelist, numents);
     free(foo);
+    if (path != NULL) free(path);
+    path = NULL;
     return retval;
 }
 

take care,

Steve...

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]