diff options
-rw-r--r-- | argv.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -293,6 +293,9 @@ mdoc_argv_free(struct mdoc_arg *p) { int i, j; + if (NULL == p) + return; + if (p->refcnt) { --(p->refcnt); if (p->refcnt) |
index : mandoc | ||
UNIX manpage compiler toolset | Matěj Cepl <mcepl@cepl.eu> |
summaryrefslogtreecommitdiffstats |
-rw-r--r-- | argv.c | 3 |
@@ -293,6 +293,9 @@ mdoc_argv_free(struct mdoc_arg *p) { int i, j; + if (NULL == p) + return; + if (p->refcnt) { --(p->refcnt); if (p->refcnt) |