Update ExternalInterface.cpp
Comment out free() in System.getDocumentDirectory with note about crash
This commit is contained in:
@@ -1206,7 +1206,11 @@ namespace lime {
|
|||||||
|
|
||||||
// TODO: Make this more consistent
|
// TODO: Make this more consistent
|
||||||
|
|
||||||
free ((char*) path);
|
//This free() causes crashes on mac at least. Commenting it out makes it work
|
||||||
|
//again but may cause a small memory leak. Some more consideration is
|
||||||
|
//necessary to figure out what to do here
|
||||||
|
|
||||||
|
//free ((char*) path);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user