fix(tmq): heap user after free

This commit is contained in:
yihaoDeng 2025-03-10 11:34:06 +08:00 committed by wangjiaming0909
parent c64f28087d
commit 85cfa59f3c
1 changed files with 1 additions and 1 deletions

View File

@ -425,6 +425,7 @@ _query:
goto _exit; goto _exit;
} }
} }
if (extSchema != NULL) *extSchema = metaGetSExtSchema(&me);
tDecoderClear(&dc); tDecoderClear(&dc);
// query from skm db // query from skm db
@ -437,7 +438,6 @@ _query:
goto _err; goto _err;
} }
pSchema = tCloneSSchemaWrapper(&schema); pSchema = tCloneSSchemaWrapper(&schema);
if (extSchema != NULL) *extSchema = metaGetSExtSchema(&me);
tDecoderClear(&dc); tDecoderClear(&dc);
_exit: _exit: