diff --git a/services/src/camera_server.cpp b/services/src/camera_server.cpp index 23a8fa5a5cb19a096e80238f65caa784e3088019..84685ec3ccb6c00556a2b57fd7bbbdf9e3fe14a2 100755 --- a/services/src/camera_server.cpp +++ b/services/src/camera_server.cpp @@ -220,6 +220,7 @@ FrameConfig *DeserializeFrameConfig(IpcIo &io) } uint8_t *data = (uint8_t *)dataBuff->buff; fc->SetVendorParameter((uint8_t *)dataBuff->buff, dataBuff->buffSz); + FreeBuffer(nullptr, dataBuff->buff); return fc; }