aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wslua/wslua_proto_field.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/wslua/wslua_proto_field.c')
-rw-r--r--epan/wslua/wslua_proto_field.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/epan/wslua/wslua_proto_field.c b/epan/wslua/wslua_proto_field.c
index c050cdefbc..0a8394704f 100644
--- a/epan/wslua/wslua_proto_field.c
+++ b/epan/wslua/wslua_proto_field.c
@@ -1462,10 +1462,11 @@ static int ProtoField__gc(lua_State* L) {
return 0;
}
- /* Note: name, abbrev and blob will be NULL after Proto deregistration. */
+ /* Note: name, abbrev, blob and vs will be NULL after Proto deregistration. */
g_free(f->name);
g_free(f->abbrev);
g_free(f->blob);
+ proto_free_field_strings(f->type, f->base, f->vs);
g_free(f);
return 0;