lib: remove some unnecessary uses of `GString`
authorSimon Marchi <simon.marchi@efficios.com>
Mon, 6 May 2024 18:59:50 +0000 (14:59 -0400)
committerSimon Marchi <simon.marchi@efficios.com>
Tue, 7 May 2024 19:34:55 +0000 (15:34 -0400)
commitb91e063189ef7284d403912e8db0a3dee5d1b662
treeff69d496ae07195fee0a07005c8d30035c9870e8
parentf90b6191ca112019a967edbea0ca1a6a756a0439
lib: remove some unnecessary uses of `GString`

The use of `GString` is unnecessary for these fields.  In fact, I think
it just makes things more complicated for nothing.  Change to use
`gchar *`, allocated with `g_strdup()` and freed with `g_free()`.

Change-Id: I03c6662e97d9cad6e0395fa1e3b29154604e786e
Signed-off-by: Simon Marchi <simon.marchi@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/12523
Tested-by: jenkins <jenkins@lttng.org>
Reviewed-by: Philippe Proulx <eeppeliteloop@gmail.com>
src/lib/lib-logging.c
src/lib/trace-ir/clock-class.c
src/lib/trace-ir/clock-class.h
src/lib/trace-ir/event-class.c
src/lib/trace-ir/event-class.h
src/lib/trace-ir/stream-class.c
src/lib/trace-ir/stream-class.h
src/lib/trace-ir/stream.c
src/lib/trace-ir/stream.h
src/lib/trace-ir/trace.c
src/lib/trace-ir/trace.h
This page took 0.025242 seconds and 4 git commands to generate.