Skip to content

Commit

Permalink
patches: added patch for HTTP memory leaks
Browse files Browse the repository at this point in the history
  • Loading branch information
jgeboski committed Jun 24, 2015
1 parent 8b64fca commit d3f9cc8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions patches/03-http-leaks.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff -r b9aca76e0549 libpurple/http.c
--- a/libpurple/http.c Wed Jun 24 08:52:47 2015 -0400
+++ b/libpurple/http.c Wed Jun 24 08:59:52 2015 -0400
@@ -2453,6 +2453,8 @@
purple_http_cookie_jar_unref(request->cookie_jar);
purple_http_keepalive_pool_unref(request->keepalive_pool);
g_free(request->url);
+ g_free(request->method);
+ g_free(request->contents);
g_free(request);
}

0 comments on commit d3f9cc8

Please sign in to comment.