mirror of https://git.48k.eu/ogserver
#942 memleak in og_send_request()
parent
0d9d72eb42
commit
1c52b78e72
|
@ -315,6 +315,8 @@ int og_send_request(enum og_rest_method method, enum og_cmd_type type,
|
||||||
cli->last_cmd = type;
|
cli->last_cmd = type;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
json_decref((json_t *)data);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue