Enlightenment CVS committal
Author : doursse
Project : e17
Module : proto
Dir : e17/proto/epdf/src/bin
Modified Files:
epdf_ewl_test.c
Log Message:
fix leak when no valid file is opened
===================================================================
RCS file: /cvs/e/e17/proto/epdf/src/bin/epdf_ewl_test.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- epdf_ewl_test.c 20 Dec 2006 21:19:48 -0000 1.3
+++ epdf_ewl_test.c 20 Dec 2006 21:23:25 -0000 1.4
@@ -79,6 +79,7 @@
document = EWL_PDF (pdf)->pdf_document;
if (!document) {
printf ("The file %s can't be opened\n", argv[1]);
+ ecore_list_destroy (str_data);
ewl_main_quit ();
return -1;
}
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs