Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/evas
Dir : e17/libs/evas/src/modules/loaders/svg
Modified Files:
evas_image_load_svg.c
Log Message:
ok- disable the close - seems librsvg in some versions is so buggy you can't
close it to prevent leaks!
===================================================================
RCS file: /cvs/e/e17/libs/evas/src/modules/loaders/svg/evas_image_load_svg.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -3 -r1.12 -r1.13
--- evas_image_load_svg.c 4 Mar 2007 21:17:36 -0000 1.12
+++ evas_image_load_svg.c 5 Mar 2007 18:19:49 -0000 1.13
@@ -86,7 +86,7 @@
im->image = evas_common_image_surface_new(im);
if (!im->image)
{
- rsvg_handle_close(rsvg, NULL);
+// rsvg_handle_close(rsvg, NULL);
g_object_unref(rsvg);
// rsvg_handle_free(rsvg);
chdir(pcwd);
@@ -101,7 +101,7 @@
{
evas_common_image_surface_free(im->image);
im->image = NULL;
- rsvg_handle_close(rsvg, NULL);
+// rsvg_handle_close(rsvg, NULL);
g_object_unref(rsvg);
// rsvg_handle_free(rsvg);
chdir(pcwd);
@@ -137,7 +137,7 @@
im->image->w = w;
im->image->h = h;
im->flags |= RGBA_IMAGE_HAS_ALPHA;
- rsvg_handle_close(rsvg, NULL);
+// rsvg_handle_close(rsvg, NULL);
g_object_unref(rsvg);
// rsvg_handle_free(rsvg);
chdir(pcwd);
@@ -203,7 +203,7 @@
{
evas_common_image_surface_free(im->image);
im->image = NULL;
- rsvg_handle_close(rsvg, NULL);
+// rsvg_handle_close(rsvg, NULL);
g_object_unref(rsvg);
// rsvg_handle_free(rsvg);
chdir(pcwd);
@@ -244,7 +244,7 @@
{
evas_common_image_surface_free(im->image);
im->image = NULL;
- rsvg_handle_close(rsvg, NULL);
+// rsvg_handle_close(rsvg, NULL);
g_object_unref(rsvg);
// rsvg_handle_free(rsvg);
chdir(pcwd);
@@ -259,7 +259,7 @@
{
evas_common_image_surface_free(im->image);
im->image = NULL;
- rsvg_handle_close(rsvg, NULL);
+// rsvg_handle_close(rsvg, NULL);
g_object_unref(rsvg);
// rsvg_handle_free(rsvg);
chdir(pcwd);
@@ -271,7 +271,7 @@
cairo_surface_destroy(surface);
evas_common_image_surface_free(im->image);
im->image = NULL;
- rsvg_handle_close(rsvg, NULL);
+// rsvg_handle_close(rsvg, NULL);
g_object_unref(rsvg);
// rsvg_handle_free(rsvg);
chdir(pcwd);
@@ -285,7 +285,7 @@
cairo_surface_destroy(surface);
/* need to check if this is required... */
cairo_destroy(cr);
- rsvg_handle_close(rsvg, NULL);
+// rsvg_handle_close(rsvg, NULL);
g_object_unref(rsvg);
// rsvg_handle_free(rsvg);
chdir(pcwd);
-------------------------------------------------------------------------
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