| Summary: | Memory leak in xmlrpc-c version 1.16.24 | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Michele Dibenedetto <michele.dibenedetto> | |
| Component: | xmlrpc-c | Assignee: | Mikolaj Izdebski <mizdebsk> | |
| Status: | CLOSED CANTFIX | QA Contact: | ||
| Severity: | urgent | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 5.7 | CC: | dpal, vvitek | |
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 741641 (view as bug list) | Environment: | ||
| Last Closed: | 2012-06-07 08:39:17 UTC | Type: | --- | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Bug Depends On: | ||||
| Bug Blocks: | 741641 | |||
|
Description
Michele Dibenedetto
2011-09-05 16:28:30 UTC
Thanks for the report, Michele. Unfortunately, I couldn't reproduce the issue yet. /no leaks/ Could you please provide the reproducer? Possible patch:
diff --git a/src/xmlrpc_client_global.c b/src/xmlrpc_client_global.c
index 7beba14..9725ae6 100644
--- a/src/xmlrpc_client_global.c
+++ b/src/xmlrpc_client_global.c
@@ -319,6 +319,7 @@ xmlrpc_client_call_asynch(const char * const serverUrl,
serverUrl, methodName, responseHandler, userData,
paramArrayP);
}
+ free(paramArrayP);
}
if (env.fault_occurred)
(*responseHandler)(serverUrl, methodName, NULL, userData, &env, NULL);
--
I can't confirm this patch without the reproducer..
I am not able to reproduce this memory leak either. Because this bug was in NEEDINFO for over 6 months and there was no reply from the reporter, I am closing this bug with CANTFIX. Michele: If you post a working reproducer then I may be able to reopen the bug. |