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:18 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2020-05-16 16:33:18 +0200
commita1bdcfa3ca8af4ddb69ee57d716aa943cf3fe94a (patch)
treef99686bfde6b647ee0e61ae1ccb0e1c9d6ca00b5 /src/misc.c
parent9ab517d65bbe24869c2c449a52eb17f572d1ac8d (diff)
New upstream version 3.25upstream/3.25
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);