[OpenSIPS-Devel] [OpenSIPS/opensips] 9e80c6: fix core database engine bug introduced with commi...
ionutrazvanionita
ionutionita at opensips.org
Mon Jul 4 17:52:42 CEST 2016
Branch: refs/heads/master
Home: https://github.com/OpenSIPS/opensips
Commit: 9e80c619d738a5f4b9e35606ac70cc5ec5f14d76
https://github.com/OpenSIPS/opensips/commit/9e80c619d738a5f4b9e35606ac70cc5ec5f14d76
Author: ionutrazvanionita <ionutionita at opensips.org>
Date: 2016-07-04 (Mon, 04 Jul 2016)
Changed paths:
M db/db_row.c
Log Message:
-----------
fix core database engine bug introduced with commit 980f15ec
Commit: 5936274b7b6d54a0e0c1b1adf8f6f346164c1179
https://github.com/OpenSIPS/opensips/commit/5936274b7b6d54a0e0c1b1adf8f6f346164c1179
Author: ionutrazvanionita <ionutionita at opensips.org>
Date: 2016-07-04 (Mon, 04 Jul 2016)
Changed paths:
M modules/db_sqlite/dbase.c
M modules/db_sqlite/row.c
A modules/db_sqlite/row.c.orig
Log Message:
-----------
[db_sqlite] fix memory management bugs
* core free function was used to free starting with commit 980f15ec
which was not freeing the memory correctly(result rows were
allocated all at once, but in the current version they were freed
once at a time);
* check if memory is allocated to prevent core dumps;
Compare: https://github.com/OpenSIPS/opensips/compare/02cb9f048d0a...5936274b7b6d
More information about the Devel
mailing list