diff options
Diffstat (limited to 'gdb/target.c')
-rw-r--r-- | gdb/target.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/target.c b/gdb/target.c index 752e62b..1c04095 100644 --- a/gdb/target.c +++ b/gdb/target.c @@ -3106,7 +3106,7 @@ target_fileio_read_stralloc (struct inferior *inf, const char *filename) return gdb::unique_xmalloc_ptr<char> (nullptr); if (transferred == 0) - return gdb::unique_xmalloc_ptr<char> (xstrdup ("")); + return make_unique_xstrdup (""); bufstr[transferred] = 0; |