Fix static analyzer warnings.
This patch fixes multiple static analyzer warnings: frameworks/base/media/mca/filterfw/jni/jni_gl_environment.cpp:66:10: warning: Potential memory leak frameworks/base/media/mca/filterfw/jni/jni_native_frame.cpp:38:10: warning: Potential memory leak frameworks/base/media/mca/filterfw/jni/jni_native_program.cpp:31:10: warning: Potential memory leak frameworks/base/media/mca/filterfw/jni/jni_shader_program.cpp:50:12: warning: Potential memory leak frameworks/base/media/mca/filterfw/jni/jni_shader_program.cpp:57:12: warning: Potential memory leak frameworks/base/media/mca/filterfw/jni/jni_vertex_frame.cpp:27:10: warning: Potential memory leak Note that the changes in jni_gl_frame are purely cosmetic; those aren't fixing any warnings. I'm happy to back them out if anyone wants. Bug: None. Test: All of the static analyzer warnings mentioned above are now gone. Change-Id: I49dc6d7c789233d6497f8bcc766ca66aec72b27b
Loading
Please register or sign in to comment