gdb: use make_unique_xstrdup in debuginfod-support.c
authorSimon Marchi <simon.marchi@polymtl.ca>
Tue, 15 Sep 2020 02:28:25 +0000 (22:28 -0400)
committerSimon Marchi <simon.marchi@polymtl.ca>
Tue, 15 Sep 2020 02:28:25 +0000 (22:28 -0400)
commit3246bd8ec50fa312403a8629bcad798a1dbbbc0f
tree647fd418890e11ada872a8aada9c48dac7ad77b1
parent10242f367fe102a4d55574c930ebfb389dbd233d
gdb: use make_unique_xstrdup in debuginfod-support.c

Use make_unique_xstrdup instead of reset + xstrdup.

gdb/ChangeLog:

* debuginfod-support.c (debuginfod_source_query): Use
make_unique_xstrdup.

Change-Id: Iee9524fea7630b4d6ee5c74e30c60fe222dc1d2c
gdb/ChangeLog
gdb/debuginfod-support.c