commit | 9ca4088ee4d8378e9f01df67a8df3f0cb5071bed | [log] [tgz] |
---|---|---|
author | Nick Kralevich <nnk@google.com> | Thu Jul 11 16:58:44 2013 -0700 |
committer | Nick Kralevich <nnk@google.com> | Thu Jul 11 16:58:44 2013 -0700 |
tree | fad831aa4768cbbded8fb982371fc50d58c609e7 | |
parent | 7f90cf46569f4ca2429b7e843c3816d816c0fd36 [diff] |
android.c: fix free of uninitialized memory Under certain error conditions, freecon is called with a pointer to uninitialized memory. Make sure everything is initialized. Move variable declaration before any goto statements. Variable declaration after a goto statement produces weird runtime artifacts. Change-Id: Ie1db5a8466bbf259f09a612a1c97afc3713e33df