Skip to content
Snippets Groups Projects
Commit 38bd75df authored by Anjan Chanda's avatar Anjan Chanda
Browse files

cppcheck: fix a false-positive memLeak warning

parent f0e226c8
Branches
No related tags found
No related merge requests found
......@@ -250,7 +250,7 @@ struct cmdu_buff *cmdu_alloc(int size)
n->head -= 18;
INIT_LIST_HEAD(&n->fraglist);
return n;
return (struct cmdu_buff *)p;
}
struct cmdu_buff *cmdu_alloc_frame(int size)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment