]> tinc-vpn.org Git - tinc/blobdiff - src/protocol.c
Make sure the stop command works on Windows if tincd is running in the foreground.
[tinc] / src / protocol.c
index 1ca24e571d0acd892792baeb33db8bdaf6014f40..d8b8867376d13c91c933c814091b036e89aec927 100644 (file)
@@ -165,10 +165,7 @@ static int past_request_compare(const past_request_t *a, const past_request_t *b
 }
 
 static void free_past_request(past_request_t *r) {
-       if(r->request) {
-               free((char *)r->request);
-       }
-
+       free((char *)r->request);
        free(r);
 }