Bug Fix: Should free the data buffer of an invalid read response to prevent memory leak.