summaryrefslogtreecommitdiff
path: root/src/misc.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2020-05-16 16:33:21 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2020-05-16 16:33:21 +0200
commit6d36bb20f860c069631bc50dce7e332c80a54730 (patch)
tree3c93f2c8fe52626c61083812c728435252e59608 /src/misc.c
parent246015cb71b7f0a599d1870185d73f2326adb911 (diff)
parenta1bdcfa3ca8af4ddb69ee57d716aa943cf3fe94a (diff)
Update upstream source from tag 'upstream/3.25'
Update to upstream version '3.25' with Debian dir ee1976ad65a32f96556b498dbf1b74cdefdfeda5
Diffstat (limited to 'src/misc.c')
-rw-r--r--src/misc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/misc.c b/src/misc.c
index 2eec3c2..7778b08 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -82,6 +82,8 @@ EXPORT_SYMBOL void HX_hexdump(FILE *fp, const void *vptr, unsigned int len)
EXPORT_SYMBOL void HX_zvecfree(char **args)
{
char **travp;
+ if (args == NULL)
+ return;
for (travp = args; *travp != NULL; ++travp)
free(*travp);
free(args);