diff options
author | Petri Hintukainen <phintuka@users.sourceforge.net> | 2011-10-10 00:32:30 +0300 |
---|---|---|
committer | Petri Hintukainen <phintuka@users.sourceforge.net> | 2011-10-10 00:32:30 +0300 |
commit | a90bf52de3bac83e9e1708671d26c9f4ad889b3f (patch) | |
tree | b3eefa16b541112d6f504805bb742817b8969980 | |
parent | 997d9976ad39edbf5f390ee5bd58e327b40b4a09 (diff) | |
download | xine-lib-a90bf52de3bac83e9e1708671d26c9f4ad889b3f.tar.gz xine-lib-a90bf52de3bac83e9e1708671d26c9f4ad889b3f.tar.bz2 |
Marked _x_canonicalise_url() with XINE_MALLOC attribute
-rw-r--r-- | src/input/http_helper.h | 5 |
1 files changed, 4 insertions, 1 deletions
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 */ |