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

Commit cde45d13 authored by Narsinga Rao Chella's avatar Narsinga Rao Chella
Browse files

hal: fix a bug introduced as part of changes done for fixing memroy leak

The return value of platform_get_parameters() is getting freed up
wrongly which is fixed now. This bug was introduced as part of the
gerrit-id 611791.

Change-Id: I61e4f5abc732fbe84702452e27cde7c1c36f77e6
parent 0ae78608
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1699,7 +1699,7 @@ void platform_get_parameters(void *platform,

    kv_pairs = str_parms_to_str(reply);
    ALOGV_IF(kv_pairs != NULL, "%s: exit: returns - %s", __func__, kv_pairs);
    free(reply);
    free(kv_pairs);
}

/* Delay in Us */