opencv/modules
Kuan-Wei Chiu e16ca08b33 Fix memory leak and handle realloc failure
In the previous code, there was a memory leak issue where the
previously allocated memory was not freed upon a failed realloc
operation. This commit addresses the problem by releasing the old
memory before setting the pointer to NULL in case of a realloc failure.
This ensures that memory is properly managed and avoids potential
memory leaks.
2023-09-18 22:43:44 +08:00
..
calib3d More fixes for iterators-are-pointers case 2023-09-15 12:37:43 +03:00
core Merge pull request #24250 from dkurt:ts_fixture_constructor_skip_2 2023-09-18 10:23:24 +03:00
dnn Fix memory leak and handle realloc failure 2023-09-18 22:43:44 +08:00
features2d Add missing std namespace qualifiers 2023-09-06 13:46:39 +03:00
flann Merge pull request #24028 from VadimLevin:dev/vlevin/fix-flann-python-bindings 2023-07-21 12:44:56 +03:00
gapi Merge pull request #23904 from kai-waang:removing-unreachable 2023-09-04 17:06:45 +03:00
highgui style: remove extraneous std::cout 2023-08-14 19:11:14 -04:00
imgcodecs imgcodecs: fix libtiff homepage 2023-08-27 19:49:37 +09:00
imgproc Merge pull request #24058 from hanliutong:rewrite-imgporc 2023-09-14 20:37:46 +03:00
java build: w/a compiler warnings for GCC 11-12 and Clang 13, reduce build output 2023-07-10 11:27:59 +03:00
js js: include LUT support 2023-09-09 03:31:39 +00:00
ml Merge remote-tracking branch 'origin/3.4' into merge-3.4 2023-04-21 10:55:04 +03:00
objc Backport 5.x: Support for module names that start from digit in ObjC bindings generator. 2023-05-25 11:45:59 +03:00
objdetect More fixes for iterators-are-pointers case 2023-09-15 12:37:43 +03:00
photo Deprecated convertTypeStr and made new variant that also takes the buffer size 2023-04-26 09:48:15 -04:00
python Merge pull request #24250 from dkurt:ts_fixture_constructor_skip_2 2023-09-18 10:23:24 +03:00
stitching Merge pull request #23740 from Peekabooc:4.x 2023-06-09 13:40:02 +03:00
ts Merge pull request #24250 from dkurt:ts_fixture_constructor_skip_2 2023-09-18 10:23:24 +03:00
video Warning supression fix for XCode 13.1 and newer. Backport #23203 2023-02-06 11:12:05 +03:00
videoio Merge pull request #24239 from asmorkalov:as/msmf_returned_fourcc 2023-09-11 11:00:54 +03:00
world cmake: VERSION_GREATER_EQUAL is not supported in CMake 3.5.1 2022-12-26 17:41:53 +00:00