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

util_create() doesnt free memory assigned to "uri"

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.9.2, 3.2.13, 3.4.3, 3.5.4
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Storage 2017-02-13

      Description

      Following is from util_create(), util_name() allocates memory to uri which isn't freed:

              if ((uri = util_name(session, *argv, "table")) == NULL)                  
                      return (1);                                                      
                                                                                       
              if ((ret = session->create(session, uri, config)) != 0)                  
                      return (util_err(session, ret, "%s: session.create", uri));      
              return (0);  
      

        Attachments

          Activity

            People

            • Assignee:
              keith.bostic Keith Bostic
              Reporter:
              sulabh.mahajan Sulabh Mahajan
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: