aboutsummaryrefslogtreecommitdiffstats
path: root/editcap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2008-05-30 02:44:02 +0000
committerGuy Harris <guy@alum.mit.edu>2008-05-30 02:44:02 +0000
commitbe161ba4606520542e562477d15bc71ca111ed95 (patch)
tree2045633463b8555cb146dc445151648d54c14149 /editcap.c
parent07263e1a178611db739f339677b61a715fed68ae (diff)
downloadwireshark-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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/editcap.c b/editcap.c
index 56a33ae4fd..8628c50e35 100644
--- a/editcap.c
+++ b/editcap.c
@@ -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;
}
}