Update ExternalInterface.cpp

Comment out free() in System.getDocumentDirectory with note about crash
This commit is contained in:
Lars Doucet
2016-04-05 14:27:17 -05:00
parent 9c2b9d2889
commit da26e563f7

View File

@@ -1206,7 +1206,11 @@ namespace lime {
// 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);
}