Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-1882

mongoc_client_new () leaks on failure

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.0
    • Affects Version/s: 1.5.0
    • Component/s: None
    • None

      [2016/10/24 16:46:17.984] ==94272== 4,930 (408 direct, 4,522 indirect) bytes in 1 blocks are definitely lost in loss record 345 of 346
      [2016/10/24 16:46:17.984] ==94272==    at 0x4C2CC70: calloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
      [2016/10/24 16:46:17.984] ==94272==    by 0x4E57F2B: bson_malloc0 (bson-memory.c:105)
      [2016/10/24 16:46:17.984] ==94272==    by 0x4ACD2A: mongoc_topology_new (mongoc-topology.c:163)
      [2016/10/24 16:46:17.984] ==94272==    by 0x47D7B1: mongoc_client_new (mongoc-client.c:634)
      [2016/10/24 16:46:17.984] ==94272==    by 0x427A29: test_mongoc_client_ssl_disabled (test-mongoc-client.c:1624)
      [2016/10/24 16:46:17.984] ==94272==    by 0x476587: TestSuite_AddHelper (TestSuite.c:333)
      [2016/10/24 16:46:17.984] ==94272==    by 0x476BF2: TestSuite_RunTest (TestSuite.c:602)
      [2016/10/24 16:46:17.984] ==94272==    by 0x4774A8: TestSuite_RunSerial (TestSuite.c:868)
      [2016/10/24 16:46:17.984] ==94272==    by 0x477812: TestSuite_Run (TestSuite.c:949)
      [2016/10/24 16:46:17.984] ==94272==    by 0x4131D3: main (test-libmongoc.c:1844)
      

            Assignee:
            bjori Hannes Magnusson
            Reporter:
            bjori Hannes Magnusson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: