Explorar o código

Fix a bogus free() in eventdns.c. Bug reported by xiando.

svn:r8428
Nick Mathewson %!s(int64=19) %!d(string=hai) anos
pai
achega
4bc42f4c18
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/or/eventdns.c

+ 1 - 1
src/or/eventdns.c

@@ -1566,7 +1566,7 @@ request_new(int type, const char *name, int flags, eventdns_callback_type callba
 
 	return req;
  err1:
-	free(req->request);
+	free(req);
 	return NULL;
 }