aboutsummaryrefslogtreecommitdiffstats
path: root/editcap.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2008-05-30 02:44:02 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2008-05-30 02:44:02 +0000
commit245af55cc2f806e50fdf998b9363322a6b9e48de (patch)
tree2045633463b8555cb146dc445151648d54c14149 /editcap.c
parent7137266ddc1cf0a29e617c9438b492965928c2ae (diff)
Free up the err_info string returned by wtap_read() and
wtap_seek_read(). Clean up indentation. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@25400 f5534014-38df-0310-8fa8-9805f1628bb7
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;
}
}