Initialize ts variable
authorAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 11 Mar 2016 07:29:15 +0000 (08:29 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Fri, 11 Mar 2016 07:29:23 +0000 (08:29 +0100)
src/libcharon/plugins/vici/vici_config.c

index 6da663b..c8126b5 100644 (file)
@@ -553,7 +553,7 @@ CALLBACK(parse_ts, bool,
        linked_list_t *out, chunk_t v)
 {
        char buf[128], *protoport, *sep, *port = "", *end;
-       traffic_selector_t *ts;
+       traffic_selector_t *ts = NULL;
        struct protoent *protoent;
        struct servent *svc;
        long int p;