evas: fix unitialized data with generic loader.
authorcedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 2 Jan 2012 14:18:14 +0000 (14:18 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 2 Jan 2012 14:18:14 +0000 (14:18 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@66754 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

ChangeLog
src/modules/loaders/generic/evas_image_load_generic.c

index cb7d104..575c56a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
           points to a bug in the nvidia drivers where the sleep logic
           in glXSwapBuffers() hasn't been transferred to glXWaitGL().
           Avoid use of glXWaitGL() to avoid the nvidia bug.
+
+2012-01-02  Cedric Bail
+
+       * Fix unitialized value when running generic loader without any
+       application found to open the file.
index 4025367..2bbfd3e 100644 (file)
@@ -118,7 +118,7 @@ _load(Image_Entry *ie, const char *file, const char *key, int *error, Eina_Bool
    int read_data = 0;
    char *tmpfname = NULL, *shmfname = NULL;
    DATA32 *body;
-   FILE *f;
+   FILE *f = NULL;
 
    libdir = _evas_module_libdir_get();
    cmd_len = strlen(libdir);