diff options
author | Michael McConville <mmcconville@mykolab.com> | 2015-12-09 13:03:57 -0500 |
---|---|---|
committer | Will Estes <westes575@gmail.com> | 2015-12-09 13:15:08 -0500 |
commit | 79691346871720fe2f5885412714a3dce17418f7 (patch) | |
tree | fc003cb0289dde3c9363159b6ccc1d5d55618ae8 /src/main.c | |
parent | d95947343e8a52957048b1d0b72c262183f2723f (diff) |
Removed NULL-checks before free()
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -398,8 +398,7 @@ void check_options (void) if ((tablesout = fopen (tablesfilename, "w")) == NULL) lerr (_("could not create %s"), tablesfilename); - if (pname) - free (pname); + free(pname); tablesfilename = 0; yytbl_writer_init (&tableswr, tablesout); |