projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
118cdd1
)
glsl: Add missing va_end in builtin_builder::add_function.
author
Vinson Lee
<vlee@freedesktop.org>
Tue, 10 Sep 2013 03:25:55 +0000
(20:25 -0700)
committer
Vinson Lee
<vlee@freedesktop.org>
Tue, 10 Sep 2013 16:52:03 +0000
(09:52 -0700)
Fixes "Missing varargs init or cleanup" defect reported by Coverity.
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/builtin_functions.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/builtin_functions.cpp
b/src/glsl/builtin_functions.cpp
index 1fedca4cebb674287af9b5ec54381cba261c99a1..ce78df12e8d7462631925b6c09b9a440e824d99b 100644
(file)
--- a/
src/glsl/builtin_functions.cpp
+++ b/
src/glsl/builtin_functions.cpp
@@
-1853,6
+1853,7
@@
builtin_builder::add_function(const char *name, ...)
f->add_signature(sig);
}
+ va_end(ap);
shader->symbols->add_function(f);
}