Hi list,

the attached patch fixes a bug in one of the trace command error paths;
the free() function is called two times with the same pointer as parameter.

It does NOT fix ticket #394, there are some other bugs somewhere else.


Cheers,
-- 
--------------------
Maurizio Lombardi
=== modified file 'uspace/app/trace/trace.c'
--- uspace/app/trace/trace.c	2011-09-09 15:46:21 +0000
+++ uspace/app/trace/trace.c	2012-01-21 14:59:56 +0000
@@ -622,7 +622,6 @@
 	/* Error exit */
 error:
 	loader_abort(ldr);
-	free(ldr);
 	return NULL;
 }
 

_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/cgi-bin/listinfo/helenos-devel

Reply via email to