Skip to content

Fix getImplmentation Methods #52

@taljacob2

Description

@taljacob2

In Object.c
Fix getImplementation Methods:

Do not EVER use concat and then free 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 the Object.

Instead of using concat, you should use a const string as a memberName.
For example:

  • a "literal" const char * string
  • a #define macro that its value is a const string.

image

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdocumentationImprovements or additions to documentationenhancementNew feature or request

Projects

Status

In Progress

Relationships

None yet

Development

No branches or pull requests

Issue actions