Branch: refs/heads/master
  Home:   https://github.com/mailru/tarantool
  Commit: c15ead94b00d4673a1ce8b438a510b0cfa2931fd
      
https://github.com/mailru/tarantool/commit/c15ead94b00d4673a1ce8b438a510b0cfa2931fd
  Author: Konstantin Osipov <[email protected]>
  Date:   2012-06-22 (Fri, 22 Jun 2012)

  Changed paths:
    M third_party/proctitle.c

  Log Message:
  -----------
  MacOS X port: do not free argv if it was not allocated.

Darwin revealed a bug in our free_proc_title() function, which was
added to procitle.c to work well with valgrind: we free argv pointer
even if it wasn't allocated (none of PS_USE_CLOBBER_ARGV/PS_USE_CHANGE_ARGV
was set).

Don't free memory if it wasn't allocated.

Another issue is understanding why Darwin doesn't define
PS_USE_SETPROCTITLE and why our FreeBSD port didn't hit this bug.



_______________________________________________
Mailing list: https://launchpad.net/~tarantool-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~tarantool-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to