mirror of
https://github.com/berlin-open-wireless-lab/DAWN.git
synced 2025-03-09 15:40:12 +00:00
fix memory leaks
This commit is contained in:
parent
52d37aae01
commit
98bdeb0b23
1 changed files with 5 additions and 0 deletions
|
@ -646,6 +646,9 @@ int send_blob_attr_via_network(struct blob_attr *msg, char *method) {
|
|||
send_string_enc(str);
|
||||
}
|
||||
|
||||
free(data_str);
|
||||
free(str);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
@ -938,6 +941,8 @@ static void ubus_get_clients_cb(struct ubus_request *req, int type, struct blob_
|
|||
|
||||
print_client_array();
|
||||
print_ap_array();
|
||||
|
||||
free(data_str);
|
||||
}
|
||||
|
||||
static int ubus_get_clients() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue