We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea13c02 commit 215d680Copy full SHA for 215d680
output/output.go
@@ -64,7 +64,9 @@ func FLBPluginUnregister(def unsafe.Pointer) {
64
65
func FLBPluginConfigKey(plugin unsafe.Pointer, key string) string {
66
_key := C.CString(key)
67
- return C.GoString(C.output_get_property(_key, plugin))
+ value := C.GoString(C.output_get_property(_key, plugin))
68
+ C.free(unsafe.Pointer(_key))
69
+ return value
70
}
71
72
var contexts []interface{}
0 commit comments