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

util_create() doesnt free memory assigned to "uri"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Done
    • None
    • WT2.9.2, 3.2.13, 3.4.3, 3.5.4
    • None
    • None
    • 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

            keith.bostic@mongodb.com Keith Bostic (Inactive)
            sulabh.mahajan@mongodb.com Sulabh Mahajan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: