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

Commit 0270d86a authored by Robert Greenwalt's avatar Robert Greenwalt Committed by Android Git Automerger
Browse files

am 778f47e5: am 069f4cbc: Merge "Fix memory leak in Connectivity Service when phone app crashes"

* commit '778f47e5':
  Fix memory leak in Connectivity Service when phone app crashes
parents 00e1d5cf 778f47e5
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