projects
/
ust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove pointless strdup_malloc
[ust.git]
/
libust
/
tracectl.c
diff --git
a/libust/tracectl.c
b/libust/tracectl.c
index 882f81ab75f7a5a7fc00e2b5e5a072b783725483..064b72bd5fd9dc370654fb7c10873b8ef3c1ffd1 100644
(file)
--- a/
libust/tracectl.c
+++ b/
libust/tracectl.c
@@
-707,14
+707,14
@@
static int do_cmd_put_subbuffer(const char *recvbuf, struct ustcomm_source *src)
DBG("put_subbuf");
DBG("put_subbuf");
- channel_and_cpu = strdup
_malloc
(nth_token(recvbuf, 1));
+ channel_and_cpu = strdup(nth_token(recvbuf, 1));
if(channel_and_cpu == NULL) {
ERR("cannot parse channel");
retval = -1;
goto end;
}
if(channel_and_cpu == NULL) {
ERR("cannot parse channel");
retval = -1;
goto end;
}
- consumed_old_str = strdup
_malloc
(nth_token(recvbuf, 2));
+ consumed_old_str = strdup(nth_token(recvbuf, 2));
if(consumed_old_str == NULL) {
ERR("cannot parse consumed_old");
retval = -1;
if(consumed_old_str == NULL) {
ERR("cannot parse consumed_old");
retval = -1;
This page took
0.022235 seconds
and
4
git commands to generate.