diff --git a/loaders/loader_gif.c b/loaders/loader_gif.c index 1908b11..ba575ae 100644 --- a/loaders/loader_gif.c +++ b/loaders/loader_gif.c @@ -172,6 +172,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 */