Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 069f4cbc authored by Robert Greenwalt's avatar Robert Greenwalt Committed by Gerrit Code Review
Browse files

Merge "Fix memory leak in Connectivity Service when phone app crashes"

parents 47c1cf4b 4b647f4c
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2022,6 +2022,8 @@ public class ConnectivityService extends IConnectivityManager.Stub
                        ReapUnvalidatedNetworks.DONT_REAP);
            }
        }
        NetworkFactoryInfo nfi = mNetworkFactoryInfos.remove(msg.replyTo);
        if (DBG && nfi != null) log("unregisterNetworkFactory for " + nfi.name);
    }

    // If this method proves to be too slow then we can maintain a separate