HEIF loader: Avoid memory leak when module is loaded more than once
Memory leak can be reproduced by running valgrind on test_load (which calls imlib_flush_loaders()).
This commit is contained in:
parent
91a2ab9b14
commit
3157181bc3
|
@ -74,7 +74,7 @@ gif_la_LIBTOOLFLAGS = --tag=disable-static
|
|||
|
||||
heif_la_SOURCES = loader_heif.c
|
||||
heif_la_CPPFLAGS = $(HEIF_CFLAGS) $(AM_CPPFLAGS)
|
||||
heif_la_LDFLAGS = -module -avoid-version
|
||||
heif_la_LDFLAGS = -module -avoid-version -Wl,-z,nodelete
|
||||
heif_la_LIBADD = $(HEIF_LIBS) $(top_builddir)/src/lib/libImlib2.la
|
||||
heif_la_LIBTOOLFLAGS = --tag=disable-static
|
||||
|
||||
|
|
Loading…
Reference in New Issue