Bug 1154952 - Remove extra free() calls on shutdown; r=snorp
authorJim Chen <nchen@mozilla.com>
Fri, 17 Apr 2015 12:22:47 -0400
changeset 269583 a80c2504ff2f9a78ab6330d7019ef95e0aca45f4
parent 269582 9443f805a17a4b8152798aeba26e3909540bd28f
child 269584 4eedefec8c95c939f15f2468cab4efa427746fd9
push id4830
push userjlund@mozilla.com
push dateMon, 29 Jun 2015 20:18:48 +0000
treeherdermozilla-beta@4c2175bb0420 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerssnorp
bugs1154952
milestone40.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1154952 - Remove extra free() calls on shutdown; r=snorp
toolkit/xre/nsAndroidStartup.cpp
--- a/toolkit/xre/nsAndroidStartup.cpp
+++ b/toolkit/xre/nsAndroidStartup.cpp
@@ -71,13 +71,9 @@ GeckoStart(void *data, const nsXREAppDat
     targs.AppendElement(static_cast<char *>(nullptr));
 
     int result = XRE_main(targs.Length() - 1, targs.Elements(), appData, 0);
 
     if (result)
         LOG("XRE_main returned %d", result);
 
     mozilla::widget::GeckoAppShell::NotifyXreExit();
-
-    free(targs[0]);
-    free(data);
-    return;
 }