You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've given my issue the title: Feature Request: [name of my feature request]
Goals
When returning a String from an iOS SDK function, it is returned as char*. The char* is a buffer allocated with malloc, but I can't find where to free it. Are there any memory leaks?
Isn't there a possibility of a memory leak in the iOS SDK functions?
Checklist
Feature Request: [name of my feature request]
Goals
When returning a
String
from an iOS SDK function, it is returned as char*. The char* is a buffer allocated with malloc, but I can't find where to free it. Are there any memory leaks?Isn't there a possibility of a memory leak in the iOS SDK functions?
Expected Results
Buffers allocated with malloc must be freed.
Code Samples & Details
facebook-sdk-for-unity/UnitySDK/Assets/FacebookSDK/SDK/Editor/iOS/FBUnityInterface.mm
Lines 438 to 459 in 9abd766
An example is the
char* IOSFBCurrentAuthenticationToken()
,char* IOSFBCurrentProfile()
,char* IOSFBSdkVersion()
.. function.The text was updated successfully, but these errors were encountered: