Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-14

Memory leak serializing nested objects/arrays

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

      ==32607== 4,608 bytes in 144 blocks are definitely lost in loss record 9 of 9
      ==32607==    at 0x4C2ABA0: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
      ==32607==    by 0x7E83F9: _emalloc (zend_alloc.c:2427)
      ==32607==    by 0x6EB3533: php_phongo_bson_visit_document (bson.c:516)
      ==32607==    by 0x6ED5092: bson_iter_visit_all (bson-iter.c:1743)
      ==32607==    by 0x6EB359A: php_phongo_bson_visit_document (bson.c:519)
      ==32607==    by 0x6ED5092: bson_iter_visit_all (bson-iter.c:1743)
      ==32607==    by 0x6EB46F7: bson_to_zval (bson.c:836)
      ==32607==    by 0x6EB89F1: zim_CommandResult_getResponseDocument (CommandResult.c:152)
      ==32607==    by 0x86AA5A: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:558)
      ==32607==    by 0x86B231: ZEND_DO_FCALL_BY_NAME_SPEC_HANDLER (zend_vm_execute.h:693)
      ==32607==    by 0x86A0C9: execute_ex (zend_vm_execute.h:363)
      ==32607==    by 0x86A152: zend_execute (zend_vm_execute.h:388)
      

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

              Created:
              Updated:
              Resolved: