X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=libust%2Ftracectl.c;h=064b72bd5fd9dc370654fb7c10873b8ef3c1ffd1;hb=ce2ccc12dddef07259e349d0b10504585ce6ee20;hp=882f81ab75f7a5a7fc00e2b5e5a072b783725483;hpb=dff06a58d6f9b7b6bf9cbebe455b7403096eb78d;p=ust.git diff --git a/libust/tracectl.c b/libust/tracectl.c index 882f81a..064b72b 100644 --- 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"); - 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; } - 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;