[CDRIVER-1017] mongoc_cursor_t leaks mongoc_read_concern_t Created: 19/Nov/15  Updated: 20/Nov/15  Resolved: 20/Nov/15

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: 1.3.0-beta0
Fix Version/s: 1.3.0-rc0

Type: Bug Priority: Major - P3
Reporter: Hannes Magnusson Assignee: Hannes Magnusson
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

==20354== 144 bytes in 1 blocks are definitely lost in loss record 52 of 116         
==20354==    at 0x4C2BBCF: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==20354==    by 0x80F581: _emalloc (zend_alloc.c:2423)                               
==20354==    by 0x80F8DF: _safe_emalloc (zend_alloc.c:2539)                          
==20354==    by 0x80FA2B: _ecalloc (zend_alloc.c:2566)                               
==20354==    by 0x93378D0: php_phongo_calloc (php_phongo.c:2031)                     
==20354==    by 0x92DF708: bson_malloc0 (bson-memory.c:103)                          
==20354==    by 0x930BE6F: mongoc_read_concern_new (mongoc-read-concern.c:47)        
==20354==    by 0x930BE99: mongoc_read_concern_copy (mongoc-read-concern.c:59)          
==20354==    by 0x92F9CA0: _mongoc_cursor_new (mongoc-cursor.c:225)                  
==20354==    by 0x92EBD8B: mongoc_client_command (mongoc-client.c:1177)              
==20354==    by 0x932EC6C: phongo_execute_command (php_phongo.c:621)                 
==20354==    by 0x92B4CB7: zim_Manager_executeCommand (Manager.c:134)                
==20354==                                                                            



 Comments   
Comment by Githook User [ 20/Nov/15 ]

Author:

{u'username': u'bjori', u'name': u'Hannes Magnusson', u'email': u'bjori@php.net'}

Message: CDRIVER-1017: mongoc_cursor_t leaks mongoc_read_concern_t
Branch: master
https://github.com/mongodb/mongo-c-driver/commit/3171dfb9a740090f439cc2d504a08ab9d5831d01

Generated at Wed Feb 07 21:11:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.