summaryrefslogtreecommitdiff
path: root/src/format.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2022-10-24 21:03:43 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2022-10-24 21:03:43 +0200
commitaab49e5a013c53ae812a143fe41add74e0677a61 (patch)
treef0c6e1ba7db9991f2bd38c9169f9921bfe5e61d8 /src/format.c
parentdf5167db909a88fb8e16dd20b37442495a6ac059 (diff)
parent532d4a24e2013262dfa41fd85c06a9715c99abf7 (diff)
Update upstream source from tag 'upstream/4.7'
Update to upstream version '4.7' with Debian dir d3e11463c915e5c39507206197eb3acd42bb8f5f
Diffstat (limited to 'src/format.c')
-rw-r--r--src/format.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/format.c b/src/format.c
index 0c463b0..b691dc7 100644
--- a/src/format.c
+++ b/src/format.c
@@ -101,6 +101,8 @@ static const struct HXmap_ops func_entry_ops = {
EXPORT_SYMBOL void HXformat_free(struct HXformat_map *blk)
{
+ if (blk == NULL)
+ return;
HXmap_free(blk->vars);
HXmap_free(blk->funcs);
free(blk);