mirror of
https://github.com/Ponce/slackbuilds
synced 2024-12-02 13:04:42 +01:00
4cd83fb346
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
11 lines
267 B
Diff
11 lines
267 B
Diff
--- a/tools/zipdir/zipdir.c
|
|
+++ b/tools/zipdir/zipdir.c
|
|
@@ -781,6 +781,8 @@
|
|
if (central_dir == NULL)
|
|
{
|
|
fprintf(stderr, "Could not read central directory from %s. (Is it a zipfile?)\n", zipname);
|
|
+ fclose(ozip);
|
|
+ ozip = NULL;
|
|
update = 0;
|
|
}
|
|
}
|