projects
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
flt.lttng-utils.debug-info: use glib memory and string functions
[babeltrace.git]
/
plugins
/
lttng-utils
/
dwarf.c
diff --git
a/plugins/lttng-utils/dwarf.c
b/plugins/lttng-utils/dwarf.c
index 307bd2aa733396edcaba6d19691e19e6414483d4..3c7388a57679d8af953cf1b28649a597a58a6400 100644
(file)
--- a/
plugins/lttng-utils/dwarf.c
+++ b/
plugins/lttng-utils/dwarf.c
@@
-242,7
+242,7
@@
int bt_dwarf_die_get_name(struct bt_dwarf_die *die, char **name)
goto error;
}
- *name = strdup(_name);
+ *name =
g_
strdup(_name);
if (!*name) {
goto error;
}
@@
-297,7
+297,7
@@
int bt_dwarf_die_get_call_file(struct bt_dwarf_die *die, char **filename)
goto error;
}
- *filename = strdup(_filename);
+ *filename =
g_
strdup(_filename);
bt_dwarf_die_destroy(cu_die);
g_free(file_attr);
This page took
0.023223 seconds
and
4
git commands to generate.