After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 738288 - EBookSqlite is leaking memory in ebsql_ref_from_hash function
EBookSqlite is leaking memory in ebsql_ref_from_hash function
Status: RESOLVED FIXED
Product: evolution-data-server
Classification: Platform
Component: Contacts
3.13.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: evolution-addressbook-maintainers
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2014-10-10 11:10 UTC by Mateusz Polrola
Modified: 2014-10-20 16:11 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (874 bytes, patch)
2014-10-10 11:11 UTC, Mateusz Polrola
committed Details | Review

Description Mateusz Polrola 2014-10-10 11:10:38 UTC
ebsql_ref_from_hash from EBookSqlite is always returning NULL, even if instance for given database was found in hash and its reference count was increased,
creating memory leak.
Comment 1 Mateusz Polrola 2014-10-10 11:11:11 UTC
Created attachment 288207 [details] [review]
Proposed patch
Comment 2 Milan Crha 2014-10-20 16:11:44 UTC
Nice catch, I committed your patch to sources:

Created commit 0a04c4a in eds master (3.13.7+) [1]
Created commit 9adf369 in eds evolution-data-server-3-12 (3.12.8+)

[1] https://git.gnome.org/browse/evolution-data-server/commit/?id=0a04c4a