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

Commit 50816f0c authored by George Burgess IV's avatar George Burgess IV Committed by Gerrit Code Review
Browse files

Merge "lmkd: fix an uninit value bug"

parents dd7288d8 c73e0659
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -926,12 +926,12 @@ static void cmd_procprio(LMKD_CTRL_PACKET packet) {
static void cmd_procremove(LMKD_CTRL_PACKET packet) {
    struct lmk_procremove params;

    lmkd_pack_get_procremove(packet, &params);
    if (use_inkernel_interface) {
        stats_remove_taskname(params.pid, kpoll_info.poll_fd);
        return;
    }

    lmkd_pack_get_procremove(packet, &params);
    /*
     * WARNING: After pid_remove() procp is freed and can't be used!
     * Therefore placed at the end of the function.