[Bug 724636] Re: domain_nodot needs free()'d

Colin Watson cjwatson at canonical.com
Thu Jul 7 22:53:07 UTC 2011


Also, free() already checks for NULL, so there's no need for the if.
Otherwise, applied.  Thanks!

** Changed in: netcfg (Ubuntu)
       Status: New => Fix Committed

** Changed in: netcfg (Ubuntu)
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netcfg in Ubuntu.
https://bugs.launchpad.net/bugs/724636

Title:
  domain_nodot needs free()'d

Status in “netcfg” package in Ubuntu:
  Fix Committed

Bug description:
  Binary package hint: ubiquity

  Was trolling through recent ubiquity changes looking for memory leaks and noticed this.
  Looks like a strdup() is happening without a corresponding free().
  Don't think this would cause a leak but I don't know what calls this routine or how often it might get invoked.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netcfg/+bug/724636/+subscriptions




More information about the foundations-bugs mailing list