diff options
Diffstat (limited to 'epan')
-rw-r--r-- | epan/wslua/wslua_pref.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/wslua/wslua_pref.c b/epan/wslua/wslua_pref.c index 95e76cdd00..daa9f5a062 100644 --- a/epan/wslua/wslua_pref.c +++ b/epan/wslua/wslua_pref.c @@ -280,7 +280,7 @@ static int Pref__gc(lua_State* L) { case PREF_STRING: /* * Free the initial string value; if it's not NULL, that - * means this is a never-registered protocol, so the + * means this is a never-registered preference, so the * initial value hasn't been freed. */ g_free(pref->info.default_s); @@ -297,9 +297,9 @@ static int Pref__gc(lua_State* L) { } g_free ((enum_val_t *)pref->info.enum_info.enumvals); break; + } default: break; - } } g_free(pref); } |