summaryrefslogtreecommitdiff
path: root/indra/newview/llfilepicker_mac.h
diff options
context:
space:
mode:
authorRye Mutt <rye@alchemyviewer.org>2022-10-28 18:49:32 -0400
committerRye Mutt <rye@alchemyviewer.org>2022-10-28 18:49:32 -0400
commit662dd44587796072b81b47f202597569f4e8c48d (patch)
treeea99f0fb704ba23f9770514843f28710f20723cd /indra/newview/llfilepicker_mac.h
parent3dd874a99b81b6c392f1ab4c40015ba43f7801e6 (diff)
Fix leaks in mac filepicker code
Diffstat (limited to 'indra/newview/llfilepicker_mac.h')
-rw-r--r--indra/newview/llfilepicker_mac.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llfilepicker_mac.h b/indra/newview/llfilepicker_mac.h
index e0b7e2e8ce..b2fb371afe 100644
--- a/indra/newview/llfilepicker_mac.h
+++ b/indra/newview/llfilepicker_mac.h
@@ -39,9 +39,9 @@
#include <vector>
//void modelessPicker();
-std::vector<std::string>* doLoadDialog(const std::vector<std::string>* allowed_types,
+std::unique_ptr<std::vector<std::string>> doLoadDialog(const std::vector<std::string>* allowed_types,
unsigned int flags);
-std::string* doSaveDialog(const std::string* file,
+std::unique_ptr<std::string> doSaveDialog(const std::string* file,
const std::string* type,
const std::string* creator,
const std::string* extension,