]> Cypherpunks repositories - gostls13.git/commit
lib9: fix memory leak in p9getwd()
authorShenghou Ma <minux.ma@gmail.com>
Mon, 4 Jun 2012 17:31:23 +0000 (01:31 +0800)
committerShenghou Ma <minux.ma@gmail.com>
Mon, 4 Jun 2012 17:31:23 +0000 (01:31 +0800)
commitd152321cea4ebee18b7b819d29d0718dbc139212
treefc668609d0edb9fee49ebd42fd932865acdc3864
parentdcc46388df62fafe81426b8dd888ed786f7db9fa
lib9: fix memory leak in p9getwd()
        although the comment says it uses libc's getenv, without NOPLAN9DEFINES
        it actually uses p9getenv which strdups.

R=golang-dev, dave, rsc
CC=golang-dev
https://golang.org/cl/6285046
src/lib9/getwd.c