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

Commit 1cc1fd46 authored by Michael W's avatar Michael W Committed by Michael Bestas
Browse files

LineageParts: Add missing cursor close

* Any opened cursor should be closed properly

Change-Id: I089d4adf5b4fded760879b5b280cd34282e79d5f
parent 5fd45d94
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -691,6 +691,7 @@ public class ContributorsCloudFragment extends Fragment implements SearchView.On
        mContributorName = c.getString(0);
        mContributorNick = c.getString(1);
        mContributorCommits = c.getInt(2);
        c.close();
    }

    private void showUserInfo(Context context) {
@@ -753,6 +754,7 @@ public class ContributorsCloudFragment extends Fragment implements SearchView.On
            result.mLabel = c.getString(1);
            results.add(result);
        }
        c.close();
        return results;
    }