OSDN Git Service

Initialize pool's buffer pointers to null.
authorTruls Bengtsson <truls.bengtsson@sonymobile.com>
Wed, 11 Jul 2012 13:50:44 +0000 (15:50 +0200)
committerHenrik Baard <henrik.baard@sonymobile.com>
Wed, 11 Jul 2012 13:51:31 +0000 (15:51 +0200)
commit9d8e55cd2705a6ab43ea4aca6f94feb7bef87938
tree7bcf2086691994b08fab4f62597b60ab26491cb1
parentffb829430ff20ccd6c13e6ed894f2373b2d93939
Initialize pool's buffer pointers to null.

If these pointers are not properly initialized to null and
allocation of one of the buffers subsequently fail, the freePool
mechanism might erroneously free uninitialized pointers.

Change-Id: I2101bdb2cc576e5f50b5a1440e6fc0c54dc4e81b
libvideoeditor/vss/stagefrightshells/src/VideoEditorBuffer.c