Mesa (master): gallium/os: fix align_malloc() / os_malloc_aligned() comment mix-up
Brian Paul
brianp at kemper.freedesktop.org
Fri Oct 27 16:07:47 UTC 2017
Module: Mesa
Branch: master
Commit: 7a718667f354935dc8470380f37ccea1477632d0
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=7a718667f354935dc8470380f37ccea1477632d0
Author: Brian Paul <brianp at vmware.com>
Date: Thu Oct 26 18:30:51 2017 -0600
gallium/os: fix align_malloc() / os_malloc_aligned() comment mix-up
os_free_aligned() is the counterpart to os_malloc_aligned().
Trivial.
---
src/gallium/auxiliary/os/os_memory_aligned.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/auxiliary/os/os_memory_aligned.h b/src/gallium/auxiliary/os/os_memory_aligned.h
index f7d0e3652e..df398a32bf 100644
--- a/src/gallium/auxiliary/os/os_memory_aligned.h
+++ b/src/gallium/auxiliary/os/os_memory_aligned.h
@@ -85,7 +85,7 @@ os_malloc_aligned(size_t size, size_t alignment)
/**
- * Free memory returned by align_malloc().
+ * Free memory returned by os_malloc_aligned().
*/
static inline void
os_free_aligned(void *ptr)
More information about the mesa-commit
mailing list