* tracepoint.c (create_tsv_from_upload): Superfluous call
to xstrdup. Callee already calls xstrdup.
2011-03-01 Michael Snyder <msnyder@vmware.com>
+ * tracepoint.c (create_tsv_from_upload): Superfluous call
+ to xstrdup. Callee already calls xstrdup.
+
* linespec.c (decode_line_1): Remove unnecessary null check.
* tracepoint.c (scope_info): Fix mem leak, remove underused
sprintf (buf, "%s_%d", namebase, try_num++);
/* We have an available name, create the variable. */
- tsv = create_trace_state_variable (xstrdup (buf));
+ tsv = create_trace_state_variable (buf);
tsv->initial_value = utsv->initial_value;
tsv->builtin = utsv->builtin;