Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Revision 3:d5d7e52769e7, committed 2011-02-04
- Comitter:
- zainulcharbiwala
- Date:
- Fri Feb 04 01:54:41 2011 +0000
- Parent:
- 2:e26e61ea802b
- Commit message:
- Added Hexley Ball\s fix for memory leak in RFCFunction
Changed in this revision
| RPCFunction.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/RPCFunction.cpp Fri Feb 04 01:48:33 2011 +0000
+++ b/RPCFunction.cpp Fri Feb 04 01:54:41 2011 +0000
@@ -81,6 +81,7 @@
if(result != NULL) {
write_result<char*>(res, result);
}
+ delete arg1; // Seems to stop a memory leak issue //From Hexley Ball
}
RPCFunction::RPCFunction(void(*f)(char*, char*), const char* name) : Base(name){