[Mesa-dev] [PATCH 1/2] loader: loader_get_driver_for_fd() return value needs to be freed by caller
Tom Stellard
thomas.stellard at amd.com
Tue Aug 19 14:06:57 PDT 2014
---
src/loader/loader.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/loader/loader.h b/src/loader/loader.h
index fa57950..d58aaab 100644
--- a/src/loader/loader.h
+++ b/src/loader/loader.h
@@ -35,6 +35,9 @@
int
loader_get_pci_id_for_fd(int fd, int *vendor_id, int *chip_id);
+/**
+ * The caller is responsible for freeing the value returned by this function.
+ */
char *
loader_get_driver_for_fd(int fd, unsigned driver_types);
--
1.8.3.1
More information about the mesa-dev
mailing list