diff options
author | Guy Harris <guy@alum.mit.edu> | 2008-05-30 02:44:02 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2008-05-30 02:44:02 +0000 |
commit | be161ba4606520542e562477d15bc71ca111ed95 (patch) | |
tree | 2045633463b8555cb146dc445151648d54c14149 /editcap.c | |
parent | 07263e1a178611db739f339677b61a715fed68ae (diff) | |
download | wireshark-be161ba4606520542e562477d15bc71ca111ed95.tar.gz wireshark-be161ba4606520542e562477d15bc71ca111ed95.tar.bz2 wireshark-be161ba4606520542e562477d15bc71ca111ed95.zip |
Free up the err_info string returned by wtap_read() and
wtap_seek_read().
Clean up indentation.
svn path=/trunk/; revision=25400
Diffstat (limited to 'editcap.c')
-rw-r--r-- | editcap.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -814,6 +814,7 @@ main(int argc, char *argv[]) case WTAP_ERR_UNSUPPORTED_ENCAP: case WTAP_ERR_BAD_RECORD: fprintf(stderr, "(%s)\n", err_info); + g_free(err_info); break; } } |