Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-12171

Memory leak in zstd_init_context_pool

    • Type: Icon: Technical Debt Technical Debt
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • 2
    • 2024-01-09 - I Grew Tired

      Clang complains about the following:

      ../ext/compressors/zstd/zstd_compress.c:351:19: warning: Potential leak of memory pointed to by 'context' [unix.Malloc]
                  (void)wt_api->err_printf(
      

      We do use calloc to allocate memory here but we don't free the memory.

            Assignee:
            etienne.petrel@mongodb.com Etienne Petrel
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: