moby/pkg/mount
Tobias Klauser 593dbfd144 Fix CString memory leaks
Make sure to call C.free on C string allocated using C.CString in every
exit path.

C.CString allocates memory in the C heap using malloc. It is the callers
responsibility to free them. See
https://golang.org/cmd/cgo/#hdr-Go_references_to_C for details.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2017-09-15 09:57:26 +02:00
..
flags.go Inconsistent --tmpfs behavior 2016-05-26 19:28:18 -07:00
flags_freebsd.go Use lazy unmount for local volume driver unmount 2017-04-27 08:43:43 -04:00
flags_linux.go [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
flags_unsupported.go Use lazy unmount for local volume driver unmount 2017-04-27 08:43:43 -04:00
mount.go Do not remove containers from memory on error 2017-05-05 17:02:04 -04:00
mount_unix_test.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00
mounter_freebsd.go [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
mounter_linux.go In the case of remounting with changed data, need to call mount 2017-07-13 15:48:58 +01:00
mounter_linux_test.go In the case of remounting with changed data, need to call mount 2017-07-13 15:48:58 +01:00
mounter_solaris.go Add goimports to linters. 2017-08-21 18:15:08 -04:00
mounter_unsupported.go Get the Docker Engine to build clean on Solaris 2016-05-23 16:37:12 -07:00
mountinfo.go Do not remove containers from memory on error 2017-05-05 17:02:04 -04:00
mountinfo_freebsd.go pkg: mount: golint 2015-07-22 10:26:10 +02:00
mountinfo_linux.go pkg: mount: golint 2015-07-22 10:26:10 +02:00
mountinfo_linux_test.go *: purge dockerinit from source code 2016-01-26 23:47:02 +11:00
mountinfo_solaris.go Fix CString memory leaks 2017-09-15 09:57:26 +02:00
mountinfo_unsupported.go Get the Docker Engine to build clean on Solaris 2016-05-23 16:37:12 -07:00
mountinfo_windows.go Windows: Fix mountinfo 2016-03-21 22:03:24 -07:00
sharedsubtree_linux.go fix variables that werent being called 2016-03-17 13:19:55 -07:00
sharedsubtree_linux_test.go [project] change syscall to /x/sys/unix|windows 2017-07-11 08:00:32 -04:00
sharedsubtree_solaris.go Add functional support for Docker sub commands on Solaris 2016-11-07 09:06:34 -08:00