* gdb.base/callfuncs.c (main): Assign malloc's return value
authorLuis Machado <lgustavo@codesourcery.com>
Wed, 27 Nov 2013 12:39:26 +0000 (10:39 -0200)
committerLuis Machado <lgustavo@codesourcery.com>
Wed, 27 Nov 2013 12:39:26 +0000 (10:39 -0200)
commit0db4ca1856d6131e726434ff67cbe42a5e1f81d1
tree584a25e62d26fe7a2a9fb97be38eb40c04c0563b
parent48d5accb7a8b0b5195628b05e1f1dbf0c9cc4a22
* gdb.base/callfuncs.c (main): Assign malloc's return value
and free it afterwards.
* gdb.base/charset-malloc.c (malloc_stub): Likewise.
* gdb.base/printcmds.c (main): Likewise.
* gdb.base/randomize.c (main): Free "p" and change breakpoint
marker position.
* gdb.base/setvar.c (dummy): Assign malloc's return value
and free it afterwards.
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/callfuncs.c
gdb/testsuite/gdb.base/charset-malloc.c
gdb/testsuite/gdb.base/printcmds.c
gdb/testsuite/gdb.base/randomize.c
gdb/testsuite/gdb.base/setvar.c