Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.4.6, 3.5.0
    • Component/s: c client
    • Labels:
      None
    • Release Note:
      The fix for this issue solves the memory leak spotted in the absence of errors. In the case the completion function is not registered because of an error (e.g., see zoo_async), the line duplicate won't be freed.

      Description

      Fix two memory leaks revealed by running:

      valgrind --leak-check=full ./.libs/cli_st 127.0.0.1:2182
      create /foo
      quit
      

        Attachments

        1. ZOOKEEPER-1632.001.patch
          2 kB
          Colin P. McCabe
        2. ZOOKEEPER-1632.002.patch
          2 kB
          Colin P. McCabe
        3. ZOOKEEPER-1632-b3.4.patch
          1 kB
          Flavio Junqueira
        4. ZOOKEEPER-1632-trunk.patch
          2 kB
          Flavio Junqueira

          Issue Links

            Activity

              People

              • Assignee:
                fpj Flavio Junqueira
                Reporter:
                cmccabe Colin P. McCabe
              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: