ASF Bugzilla – Attachment 32545 Details for
Bug 57660
AB - free memory allocated by xmalloc and xcalloc
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
0001-free-memory-patch.patch (text/plain), 983 bytes, created by
Marcin Fabrykowski
on 2015-03-04 03:58:35 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Marcin Fabrykowski
Created:
2015-03-04 03:58:35 UTC
Size:
983 bytes
patch
obsolete
>From 9d5a452a63356ebd20769715727dad5d8a040927 Mon Sep 17 00:00:00 2001 >From: root <root@redraptor.ds2.agh.edu.pl> >Date: Wed, 4 Mar 2015 04:10:40 +0100 >Subject: [PATCH] free memory patch > >--- > support/ab.c | 15 +++++++++++++++ > 1 file changed, 15 insertions(+) > >diff --git a/support/ab.c b/support/ab.c >index 01f173a..19f071a 100644 >--- a/support/ab.c >+++ b/support/ab.c >@@ -1901,6 +1901,18 @@ static void test(void) > output_html_results(); > else > output_results(0); >+ >+ free(con); >+ free(stats); >+ { >+ struct sockaddr_pool *tmp2, *tmp = destsa_pool; >+ do >+ { >+ tmp2 = tmp->next; >+ free(tmp); >+ tmp = tmp2; >+ } while(tmp != destsa_pool); >+ } > } > > /* ------------------------------------------------------- */ >@@ -2424,5 +2436,8 @@ int main(int argc, const char * const argv[]) > test(); > apr_pool_destroy(cntxt); > >+ if(ssl_info) >+ free(ssl_info); >+ > return 0; > } >-- >2.0.5 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 57660
: 32545