Explorar el Código

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

svn:r8428
Nick Mathewson hace 19 años
padre
commit
4bc42f4c18
Se han modificado 1 ficheros con 1 adiciones y 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;
 }