cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=573438d081bdef6cbd8ffc4ed37ffb0b581aefc6

commit 573438d081bdef6cbd8ffc4ed37ffb0b581aefc6
Author: Cedric BAIL <ced...@osg.samsung.com>
Date:   Thu Oct 22 16:56:39 2015 -0700

    emile: fix typos catched by coverity.
    
    CID1328666
---
 src/lib/emile/emile_compress.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/emile/emile_compress.c b/src/lib/emile/emile_compress.c
index e2d23d4..0d2e605 100644
--- a/src/lib/emile/emile_compress.c
+++ b/src/lib/emile/emile_compress.c
@@ -57,7 +57,7 @@ emile_compress(const Eina_Binbuf *data,
                               eina_binbuf_length_get(data));
         /* It is going to be smaller and should never fail, if it does you are 
in deep poo. */
         temp = realloc(compact, length);
-        if (temp) temp = compact;
+        if (temp) compact = temp;
 
         if (length > 0)
           ok = EINA_TRUE;

-- 


Reply via email to