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

Commit 2b91c671 authored by Mårten Kongstad's avatar Mårten Kongstad Committed by Johan Redestig
Browse files

Add missing clean-up of idmap file descriptors.

Change-Id: I9bdc9a4b7962f1a8dce77f4b213c8b9dc26e4b0f
parent 9c4ba258
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -680,6 +680,9 @@ const ResTable* AssetManager::getResTable(bool required) const
                delete ass;
            }
        }
        if (idmap != NULL) {
            delete idmap;
        }
    }

    if (required && !rt) LOGW("Unable to find resources file resources.arsc");