修复deserialization_to_tuple方法的内存泄露问题
This commit is contained in:
@ -3007,12 +3007,12 @@ static void deserialization_to_tuple(Datum (&values)[PGAUDIT_QUERY_COLS_NEW],
|
||||
}
|
||||
values[i++] = BoolGetDatum(verifyResult); /* verify_result */
|
||||
} else {
|
||||
values[i++] = CStringGetTextDatum(FILED_NULLABLE(NULL)); /* verify_result*/
|
||||
nulls[i] = true;
|
||||
values[i] = CStringGetTextDatum(FILED_NULLABLE(NULL)); /* verify_result */
|
||||
nulls[i++] = true;
|
||||
}
|
||||
} else {
|
||||
values[i++] = CStringGetTextDatum(FILED_NULLABLE(NULL)); /* verify_result*/
|
||||
nulls[i] = true;
|
||||
values[i] = CStringGetTextDatum(FILED_NULLABLE(NULL)); /* verify_result */
|
||||
nulls[i++] = true;
|
||||
}
|
||||
}
|
||||
if (newVersion) {
|
||||
|
||||
Reference in New Issue
Block a user