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

Commit eaf2d4b4 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

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

parents cccc3f05 653bd2e4
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2252,6 +2252,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