cleanup: Fix calls_origin_get_name() related memory leaks
Document calls_origin_get_name() correctly as transfer-full. Additionaly fix related memory leaks.
This commit is contained in:
@@ -96,10 +96,10 @@ calls_origin_default_init (CallsOriginInterface *iface)
|
||||
*
|
||||
* Get the user-presentable name of the origin.
|
||||
*
|
||||
* Returns: A string containing the name. The string must be freed by
|
||||
* Returns (transfer full): A string containing the name. The string must be freed by
|
||||
* the caller.
|
||||
*/
|
||||
DEFINE_ORIGIN_GETTER(name, const gchar *, NULL);
|
||||
DEFINE_ORIGIN_GETTER(name, char *, NULL);
|
||||
|
||||
/**
|
||||
* calls_origin_get_calls:
|
||||
|
||||
Reference in New Issue
Block a user