Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-23526

InnoDB leaks memory for some static objects

    XMLWordPrintable

    Details

      Description

      InnoDB is leaking some memory for statically allocated objects. The leaks were caught by some changes to SAFEMALLOC that allow instrumenting operator new. I did not try to find out how to make AddressSanitizer report them.

      The impact is small, because the few dozen bytes will be freed by the operating system when the process is terminated. But, because memory leaks can be a telltale sign of subsystems not being closed down properly, we prefer to fix them.

      The leaks were identified by Michael Widenius and Vicențiu Ciorbaru.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              marko Marko Mäkelä
              Reporter:
              marko Marko Mäkelä
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: