From 6c2d97bf01c25f2af6fd41a741ca0f74230fd8f5 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sat, 7 Sep 2019 15:22:52 +0100 Subject: useragent: Add a free_user_agent_string() function Signed-off-by: Daniel Silverstone --- utils/useragent.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'utils/useragent.h') diff --git a/utils/useragent.h b/utils/useragent.h index 87677e7bc..6eb309a62 100644 --- a/utils/useragent.h +++ b/utils/useragent.h @@ -27,4 +27,11 @@ */ const char * user_agent_string(void); +/** Free any memory allocated for the user_agent_string + * + * After calling this, the value returned by \ref user_agent_string() + * is to be considered invalid. + */ +void free_user_agent_string(void); + #endif -- cgit v1.2.3