From: Jonathan Rajotte Date: Fri, 7 Oct 2016 15:38:28 +0000 (-0400) Subject: load: objects returned by getters do not need to be freed X-Git-Tag: v2.9.0-rc1~11 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=e9db043b1b8642d951eb4659b268099b773025e9;p=lttng-tools.git load: objects returned by getters do not need to be freed Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau --- diff --git a/include/lttng/load.h b/include/lttng/load.h index 694c20b92..808b51331 100644 --- a/include/lttng/load.h +++ b/include/lttng/load.h @@ -70,8 +70,6 @@ int lttng_load_session_attr_get_overwrite( * configuration. * * NULL indicates no override will be applied on configuration load. - * - * Caller is responsible for freeing the return value. */ const char *lttng_load_session_attr_get_override_url( struct lttng_load_session_attr *attr); @@ -82,8 +80,6 @@ const char *lttng_load_session_attr_get_override_url( * configuration(s). * * NULL indicates no control URL override will be applied on configuration load. - * - * Caller is responsible for freeing the return value. */ const char *lttng_load_session_attr_get_override_ctrl_url( struct lttng_load_session_attr *attr); @@ -94,8 +90,6 @@ const char *lttng_load_session_attr_get_override_ctrl_url( * configuration(s). * * NULL indicates no data URL override will be applied on configuration load. - * - * Caller is responsible for freeing the return value. */ const char *lttng_load_session_attr_get_override_data_url( struct lttng_load_session_attr *attr);