[PATCH v2] tee: fix uninitialized pointers with free attribute