Navigation Menu

Skip to content

Commit

Permalink
[ril] Fix a memory leak in ril_plugin_shutdown_slot(). JB#49391
Browse files Browse the repository at this point in the history
  • Loading branch information
d-grigorev authored and monich committed Jun 17, 2020
1 parent c7faa21 commit d8dd200
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ofono/drivers/ril/ril_plugin.c
Expand Up @@ -393,6 +393,7 @@ static void ril_plugin_shutdown_slot(ril_slot *slot, gboolean kill_io)
}

if (slot->caps) {
ril_network_set_radio_caps(slot->network, NULL);
ril_radio_caps_request_free(slot->caps_req);
ril_radio_caps_drop(slot->caps);
slot->caps_req = NULL;
Expand Down

0 comments on commit d8dd200

Please sign in to comment.