Skip to content

Commit

Permalink
[CBRD-25195] A core dump occurs when multiple tables and serial funct…
Browse files Browse the repository at this point in the history
…ions are used simultaneously in one query. (#4897)

http://jira.cubrid.org/browse/CBRD-25195
  • Loading branch information
beyondykk9 authored Jan 29, 2024
1 parent 9cffae9 commit 8f0d709
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/parser/xasl_generation.c
Original file line number Diff line number Diff line change
Expand Up @@ -18032,6 +18032,11 @@ pt_spec_to_xasl_class_oid_list (PARSER_CONTEXT * parser, const PT_NODE * spec, O
free_and_init (*oid_listp);
}

if (*lock_listp)
{
free_and_init (*lock_listp);
}

if (*tcard_listp)
{
free_and_init (*tcard_listp);
Expand Down Expand Up @@ -18175,6 +18180,7 @@ pt_serial_to_xasl_class_oid_list (PARSER_CONTEXT * parser, const PT_NODE * seria
*nump = o_num;
*sizep = o_size;
*oid_listp = o_list;
*lock_listp = lck_list;
*tcard_listp = t_list;

return o_num;
Expand All @@ -18185,6 +18191,11 @@ pt_serial_to_xasl_class_oid_list (PARSER_CONTEXT * parser, const PT_NODE * seria
free_and_init (*oid_listp);
}

if (*lock_listp)
{
free_and_init (*lock_listp);
}

if (*tcard_listp)
{
free_and_init (*tcard_listp);
Expand Down

0 comments on commit 8f0d709

Please sign in to comment.