diff --git a/loaders/loader_gif.c b/loaders/loader_gif.c index cdcaaeb..4f4194f 100644 --- a/loaders/loader_gif.c +++ b/loaders/loader_gif.c @@ -170,6 +170,9 @@ char save(ImlibImage *im, progress_func *progress, char progress_granularity) { return 0; + im = NULL; + progress = NULL; + progress_granularity = 0; } /* fills the ImlibLoader struct with a strign array of format file */