From a90bf52de3bac83e9e1708671d26c9f4ad889b3f Mon Sep 17 00:00:00 2001 From: Petri Hintukainen Date: Mon, 10 Oct 2011 00:32:30 +0300 Subject: Marked _x_canonicalise_url() with XINE_MALLOC attribute --- src/input/http_helper.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/input/http_helper.h b/src/input/http_helper.h index 68299a2ea..fbbe3a6c4 100644 --- a/src/input/http_helper.h +++ b/src/input/http_helper.h @@ -23,6 +23,8 @@ #ifndef HTTP_HELPER_H #define HTTP_HELPER_H +#include "attributes.h" + /* * user agent finder, using modified protcol names * {proto}://... @@ -53,7 +55,8 @@ int _x_parse_url (char *url, char **proto, char** host, int *port, * * return: * the canonicalised URL (caller must free() it) + * NULL if error */ -char *_x_canonicalise_url (const char *base, const char *url); +char *_x_canonicalise_url (const char *base, const char *url) XINE_MALLOC; #endif /* HTTP_HELPER_H */ -- cgit v1.2.3