mirror of
https://github.com/FerretDB/documentdb.git
synced 2026-11-25 11:49:53 -05:00
### Does this PR have any customer impact? Maybe ### Type (Feature, Refactoring, Bugfix, DevOps, Testing, Perf, etc) Bug ### Does it involve schema level changes? (Table, Column, Index, UDF, etc level changes) No ### Are you introducing any new config? If yes, do you have tests with and without them being set? No ### Release Note (Refer [Template](../docs/release_notes/pgmongo_template.md)) N/A ### Description Flushing error data in the PG_CATCH after MultiUpdate failure ---- #### AI description (iteration 1) #### PR Classification Bug fix #### PR Summary Fixes a potential memory leak issue when copying error data in the update command. - `src/commands/update.c`: Added `FreeErrorData(errorData)` to ensure error data is properly freed after use.