Skip to content

Commit

Permalink
CID 122512 (#1 of 1): Resource leak (RESOURCE_LEAK)11. leaked_storage:
Browse files Browse the repository at this point in the history
Variable frame going out of scope leaks the storage it points to.
  • Loading branch information
gjedeer committed Jul 8, 2015
1 parent a6d788c commit 5d9e9c5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions main.c
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,7 @@ void parse_lossless_packet(Tox *tox, uint32_t friendnumber, const uint8_t *data,
}

handle_frame(frame);
free(frame);
}

int send_tunnel_request_packet(char *remote_host, int remote_port, int friend_number)
Expand Down

0 comments on commit 5d9e9c5

Please sign in to comment.