Remove duplicated xmalloc in update_dprintf_command_list
authorGabriel Krisman Bertazi <gabriel@krisman.be>
Sun, 19 Apr 2015 22:34:08 +0000 (19:34 -0300)
committerGabriel Krisman Bertazi <gabriel@krisman.be>
Sun, 19 Apr 2015 23:07:33 +0000 (20:07 -0300)
commite31d7699a0b116025b48f1ab5214eddd2e56ef9f
tree024ba564df1efd7790e6d4b3c6f8308c529a8db5
parent110f91128cf3e047eb1e04d346c27d71cc33fb9c
Remove duplicated xmalloc in update_dprintf_command_list

Code in update_dprintf_command_list performed a duplicated memory
allocation which caused an obvious memory leak.  This removes the
duplication.

gdb/
2015-04-19  Gabriel Krisman Bertazi  <gabriel@krisman.be>

* breakpoint.c (update_dprintf_command_list): Remove duplicated
xmalloc.
gdb/ChangeLog
gdb/breakpoint.c