if_gw: no need to free unused obj->data.s
authorPhil Sutter <phil@nwl.cc>
Fri, 30 Oct 2009 00:31:43 +0000 (01:31 +0100)
committerPhil Sutter <phil@nwl.cc>
Tue, 3 Nov 2009 22:23:23 +0000 (23:23 +0100)
src/core.c

index 92b7370..cad4be4 100644 (file)
@@ -1302,7 +1302,6 @@ void free_text_objects(struct text_object *root, int internal)
                                free(data.s);
                                break;
                        case OBJ_if_gw:
-                               free(data.s);
                        case OBJ_gw_iface:
                        case OBJ_gw_ip:
                                free_gateway_info();