From 48936722f9a24af4d72b12c90f9d1d2a66bb385a Mon Sep 17 00:00:00 2001 From: Daniel Kolesa Date: Wed, 15 Jul 2015 16:08:04 +0100 Subject: [PATCH] gl_generic: fix unintended behavior (we want to assign the value we point to) --- src/modules/evas/engines/gl_generic/evas_engine.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/evas/engines/gl_generic/evas_engine.c b/src/modules/evas/engines/gl_generic/evas_engine.c index b4da74e..497eba8 100644 --- a/src/modules/evas/engines/gl_generic/evas_engine.c +++ b/src/modules/evas/engines/gl_generic/evas_engine.c @@ -643,7 +643,7 @@ eng_image_data_get(void *data, void *image, int to_write, DATA32 **image_data, i int error; *image_data = NULL; - if (tofree) tofree = EINA_FALSE; + if (tofree) *tofree = EINA_FALSE; if (err) *err = EVAS_LOAD_ERROR_NONE; if (!im) -- 2.7.4