Free commandTableCache object before assigning it the result of malloc() (cherry picked from commit c6c09423fd226a970b0b39cdd2586e9ae3a07f6b)
Free commandTableCache object before assigning it the result of malloc() (cherry picked from commit c6c09423fd226a970b0b39cdd2586e9ae3a07f6b)