summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--util/gifcolor.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/util/gifcolor.c b/util/gifcolor.c
index 1700b07..b3e586b 100644
--- a/util/gifcolor.c
+++ b/util/gifcolor.c
@@ -123,9 +123,6 @@ int main(int argc, char **argv)
if (EGifCloseFile(GifFile, &ErrorCode) == GIF_ERROR)
{
PrintGifError(ErrorCode);
- if (GifFile != NULL) {
- EGifCloseFile(GifFile, NULL);
- }
exit(EXIT_FAILURE);
}