forked from enlightenment/efl
evas: fix unitialized data with generic loader.
SVN revision: 66754
This commit is contained in:
parent
545390e173
commit
77f3401054
|
@ -607,3 +607,8 @@
|
||||||
points to a bug in the nvidia drivers where the sleep logic
|
points to a bug in the nvidia drivers where the sleep logic
|
||||||
in glXSwapBuffers() hasn't been transferred to glXWaitGL().
|
in glXSwapBuffers() hasn't been transferred to glXWaitGL().
|
||||||
Avoid use of glXWaitGL() to avoid the nvidia bug.
|
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.
|
||||||
|
|
|
@ -118,7 +118,7 @@ _load(Image_Entry *ie, const char *file, const char *key, int *error, Eina_Bool
|
||||||
int read_data = 0;
|
int read_data = 0;
|
||||||
char *tmpfname = NULL, *shmfname = NULL;
|
char *tmpfname = NULL, *shmfname = NULL;
|
||||||
DATA32 *body;
|
DATA32 *body;
|
||||||
FILE *f;
|
FILE *f = NULL;
|
||||||
|
|
||||||
libdir = _evas_module_libdir_get();
|
libdir = _evas_module_libdir_get();
|
||||||
cmd_len = strlen(libdir);
|
cmd_len = strlen(libdir);
|
||||||
|
|
Loading…
Reference in New Issue