From e9db043b1b8642d951eb4659b268099b773025e9 Mon Sep 17 00:00:00 2001 From: Jonathan Rajotte Date: Fri, 7 Oct 2016 11:38:28 -0400 Subject: [PATCH] load: objects returned by getters do not need to be freed MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jonathan Rajotte Signed-off-by: Jérémie Galarneau --- include/lttng/load.h | 6 ------ 1 file changed, 6 deletions(-) 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); -- 2.34.1