Re: [RFA v2 10/17] Replace two xmallocs with unique_ptr

Pedro Alves
2016-10-13T22:44:01Z

On 10/13/2016 10:10 PM, Tom Tromey wrote:
> This replaces a couple of uses of xmalloc with gdb::unique_ptr, also
> removing a couple of cleanups.
>
> 2016-09-26 Tom Tromey <tom@tromey.com>
>
> * cli/cli-dump.c (dump_memory_to_file): Use gdb::unique_ptr.
> (restore_binary_file): Likewise.

OK.

Thanks,
Pedro Alves