Fix getImplmentation
Methods
#52
Labels
bug
Something isn't working
documentation
Improvements or additions to documentation
enhancement
New feature or request
Milestone
In
Object.c
Fix
getImplementation
Methods:Do not EVER use
concat
and thenfree
the returned conatted string.This will cause the
memberName
to be freed from memory, and then you would not be able to search for the member within theObject
.Instead of using
concat
, you should use aconst
string as amemberName
.For example:
const char *
string#define
macro that its value is aconst
string.The text was updated successfully, but these errors were encountered: