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

Commit f48a7faf authored by Wonsik Kim's avatar Wonsik Kim
Browse files

codec2: fix uninitialized member in C2PlatformStorePlguinLoader

Bug: 169331519
Test: builds
Change-Id: I64059108f867767aea387d2b6317a6f473922831
parent 5381d98c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -33,7 +33,8 @@ constexpr const char kStorePluginPath[] = "libc2plugin_store.so";
}  // unnamed

C2PlatformStorePluginLoader::C2PlatformStorePluginLoader(const char *libPath)
    : mCreateBlockPool(nullptr) {
    : mCreateBlockPool(nullptr),
      mCreateAllocator(nullptr) {
    mLibHandle = dlopen(libPath, RTLD_NOW | RTLD_NODELETE);
    if (mLibHandle == nullptr) {
        ALOGD("Failed to load library: %s (%s)", libPath, dlerror());