eio: properly track destruction of all Eet eio request.
authorCedric BAIL <cedric@osg.samsung.com>
Mon, 12 Sep 2016 18:19:10 +0000 (11:19 -0700)
committerCedric BAIL <cedric@osg.samsung.com>
Mon, 12 Sep 2016 23:19:10 +0000 (16:19 -0700)
@fix T4550

src/lib/eio/eio_eet.c

index 29b3d74..8abcf18 100644 (file)
@@ -159,7 +159,7 @@ _eio_eet_image_write_free(Eio_Eet_Image_Write *eiw)
 {
    eina_stringshare_del(eiw->name);
    eina_stringshare_del(eiw->cipher_key);
-   free(eiw);
+   eio_file_free(&eiw->common);
 }
 
 static void
@@ -225,7 +225,7 @@ _eio_eet_read_free(Eio_Eet_Read *er)
 {
    eina_stringshare_del(er->name);
    eina_stringshare_del(er->cipher_key);
-   free(er);
+   eio_file_free(&er->common);
 }
 
 static void