Skip to content

eog-image: fix double-free of eog image status mutex

Antoine Jacoutot requested to merge ajacoutot/eog:double-free into master

The mutex will now only be freed in eog_image_finalize(). The eog_image_dispose() will be called before finalize(), and dispose() may even be called multiple times.

Program terminated with signal SIGSEGV, Segmentation fault. at /usr/src/lib/libc/thread/rthread_mutex.c:81 81 /usr/src/lib/libc/thread/rthread_mutex.c: No such file or directory. [Current thread is 1 (process 353323)] (gdb) bt at /usr/src/lib/libc/thread/rthread_mutex.c:81

Signed-off-by: Antoine Jacoutot ajacoutot@gnome.org

Merge request reports