Memory leak in error path and unnecessary assignment, from clang.

This commit is contained in:
nicm
2014-04-16 23:05:38 +00:00
parent 871b83cbab
commit 5acee1c04e
3 changed files with 2 additions and 3 deletions

View File

@ -142,7 +142,6 @@ do_print:
return (CMD_RETURN_ERROR);
}
msg = NULL;
msglen = 0;
used = 0;
while (used != pb->size) {