summaryrefslogtreecommitdiff
path: root/poptint.c
diff options
context:
space:
mode:
authorjbj <jbj>2008-12-04 21:05:27 +0000
committerjbj <jbj>2008-12-04 21:05:27 +0000
commitda0e732a9ab5713e3464d69477c4850b2202ec14 (patch)
tree2a5a207b7442d14dd5510ba81bdcdb209bfceb66 /poptint.c
parenta84017ea25871caa10d69467b1553f5d1347f0bf (diff)
downloadlibpopt-da0e732a9ab5713e3464d69477c4850b2202ec14.tar.gz
- jbj: fix: eliminate dead code (CID#5).
Diffstat (limited to 'poptint.c')
-rw-r--r--poptint.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/poptint.c b/poptint.c
index 5b0cd22..55485fe 100644
--- a/poptint.c
+++ b/poptint.c
@@ -187,8 +187,7 @@ POPT_fprintf (FILE * stream, const char * format, ...)
#endif
rc = fprintf(stream, "%s", b);
free (b);
- } else if (ob != NULL)
- free(ob);
+ }
return rc;
}