Enlightenment CVS committal

Author  : doursse
Project : e17
Module  : proto

Dir     : e17/proto/edvi/src/lib


Modified Files:
        edvi_page.c ewl_dvi.c 


Log Message:
fix a leak in edvi. use ewl_list instead of ewl_tree in the ewl test

===================================================================
RCS file: /cvs/e/e17/proto/edvi/src/lib/edvi_page.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- edvi_page.c 11 Sep 2006 07:22:08 -0000      1.2
+++ edvi_page.c 20 Dec 2006 20:40:46 -0000      1.3
@@ -114,7 +114,7 @@
   edvi_device_offset_set (device,
                           edvi_offset_x_get () * edvi_dpi_get () / 
page->shrink,
                           edvi_offset_y_get () * edvi_dpi_get () / 
page->shrink);
-    edvi_device_draw_page_finished (0);
+  edvi_device_draw_page_finished (0);
   res = DVI_DRAW_PAGE (page->doc->dvi_document, device->dvi_device, 
page->page, page->shrink);
   if (res != DVI_DRAW_INTERRUPTED)
     edvi_device_draw_page_finished (1);
===================================================================
RCS file: /cvs/e/e17/proto/edvi/src/lib/ewl_dvi.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- ewl_dvi.c   1 Oct 2006 06:12:30 -0000       1.3
+++ ewl_dvi.c   20 Dec 2006 20:40:46 -0000      1.4
@@ -550,13 +550,14 @@
        dvi = EWL_DVI(w);
 
        if (dvi->dvi_document)
-         edvi_document_delete (dvi->dvi_document);
+               edvi_document_delete (dvi->dvi_document);
        if (dvi->dvi_page)
-         edvi_page_delete (dvi->dvi_page);
+               edvi_page_delete (dvi->dvi_page);
        if (dvi->dvi_property)
-         edvi_property_delete (dvi->dvi_property);
+               edvi_property_delete (dvi->dvi_property);
        if (dvi->dvi_device)
-         edvi_device_delete (dvi->dvi_device);
+               edvi_device_delete (dvi->dvi_device);
+       IF_FREE(dvi->filename);
 
        DLEAVE_FUNCTION(DLEVEL_STABLE);
 }



-------------------------------------------------------------------------
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
enlightenment-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to