Author: abrander
Date: 2010-04-03 08:09:06 +0200 (Sat, 03 Apr 2010)
New Revision: 3327
Modified:
trunk/librawstudio/rs-filter.c
Log:
Stop leaking in clamp_roi().
Modified: trunk/librawstudio/rs-filter.c
===================================================================
--- trunk/librawstudio/rs-filter.c 2010-04-03 01:12:06 UTC (rev 3326)
+++ trunk/librawstudio/rs-filter.c 2010-04-03 06:09:06 UTC (rev 3327)
@@ -179,6 +179,7 @@
RSFilterResponse *response = rs_filter_get_size(filter, request);
gint w = rs_filter_response_get_width(response);
gint h = rs_filter_response_get_height(response);
+ g_object_unref(response);
if ((roi->x >= 0) && (roi->y >=0) && (roi->x + roi->width <= w) &&
(roi->y + roi->height <= h))
return NULL;
_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit