mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
(cppcheck) Fix "error: Memory leak: bufp"
Patch by Aurimas Fišeras. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21201 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
8b3650e07f
commit
e256168765
@ -46,6 +46,7 @@ int main (int argc, char *argv[])
|
||||
fread (bufp, ilen, 1, stdin);
|
||||
|
||||
printf ("The POST data is<P>%s\n", bufp);
|
||||
free (bufp);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user