diff options
author | Evan Huus <eapache@gmail.com> | 2012-10-14 19:33:08 +0000 |
---|---|---|
committer | Evan Huus <eapache@gmail.com> | 2012-10-14 19:33:08 +0000 |
commit | a892d9486d962dbcc1c189f789f2744537dd42fc (patch) | |
tree | b3d06961d3c52274edd86e71b576182f29b899d9 /capture_ifinfo.c | |
parent | 90584f4655e9cfb5b6b1f7bbff5f44b554f85a16 (diff) |
Fix leak in get_interface_type as caught by cppcheck.
svn path=/trunk/; revision=45543
Diffstat (limited to 'capture_ifinfo.c')
-rw-r--r-- | capture_ifinfo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/capture_ifinfo.c b/capture_ifinfo.c index f96974591d..fc7a76e7d5 100644 --- a/capture_ifinfo.c +++ b/capture_ifinfo.c @@ -422,6 +422,7 @@ get_interface_type(gchar *name, gchar *description) g_free(wireless_path); return IF_WIRELESS; } + g_free(wireless_path); } /* * Bluetooth devices. |