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

Commit 94388e4b authored by Tomasz Wasilczyk's avatar Tomasz Wasilczyk Committed by Gerrit Code Review
Browse files

Merge "Fix uninitialized pointer dereference when loading default radio module."

parents a0c1eb86 164f3681
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -84,10 +84,11 @@ void RadioService::onFirstRef()
    radio_properties_t properties;
    properties.handle =
            (radio_handle_t)android_atomic_inc(&mNextUniqueId);
    convertProperties(&properties, &halProperties);

    ALOGI("loaded default module %s, handle %d", properties.product, properties.handle);
    ALOGI("loaded default module %s, ver %s, handle %d", properties.product,
        properties.version, properties.handle);

    convertProperties(&properties, &halProperties);
    sp<Module> module = new Module(dev, properties);
    mModules.add(properties.handle, module);
}