aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2009-12-18 19:44:10 +0000
committergerald <gerald@f5534014-38df-0310-8fa8-9805f1628bb7>2009-12-18 19:44:10 +0000
commitcce755b79eb99b2d5b3cc8fbb5f0887613abf15b (patch)
tree973312772632e222291c97e848b61f1eef50008f
parent278c6939dc5f13aa73cb35628de0e363d39bac9e (diff)
Don't try to free a static pointer.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@31315 f5534014-38df-0310-8fa8-9805f1628bb7
-rw-r--r--airpcap_loader.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/airpcap_loader.c b/airpcap_loader.c
index 90abe336b1..65148975db 100644
--- a/airpcap_loader.c
+++ b/airpcap_loader.c
@@ -2336,7 +2336,6 @@ set_on_off(pref_t *pref, gpointer ud)
{
number = *pref->varp.boolp;
- g_free((void *)*pref->varp.boolp);
if(*is_on)
*pref->varp.boolp = TRUE;
else