Author: post
Date: 2012-07-08 13:03:38 +0200 (Sun, 08 Jul 2012)
New Revision: 4238

Modified:
   trunk/plugins/rotate/rotate.c
Log:
Extra type check.

Modified: trunk/plugins/rotate/rotate.c
===================================================================
--- trunk/plugins/rotate/rotate.c       2012-07-08 10:55:56 UTC (rev 4237)
+++ trunk/plugins/rotate/rotate.c       2012-07-08 11:03:38 UTC (rev 4238)
@@ -499,7 +499,7 @@
 {
        RSFilter *previous = RS_FILTER(rotate)->previous;
        RSFilterResponse *response = rs_filter_get_size(previous, request);
-       if (!response)
+       if (!response || !RS_IS_FILTER_RESPONSE(response))
                return;
        gint previous_width = rs_filter_response_get_width(response);
        gint previous_height = rs_filter_response_get_height(response);


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to