mirror of https://github.com/milvus-io/milvus.git
[skip ci] Add comment for protoCGo.destruct (#8871)
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>pull/8901/head
parent
fc2dab174b
commit
954e01aed8
|
@ -55,6 +55,7 @@ func MarshalForCGo(msg proto.Message) (*ProtoCGo, error) {
|
|||
return protoCGo, nil
|
||||
}
|
||||
|
||||
// destruct free ProtoCGo go memory
|
||||
func (protoCGo *ProtoCGo) destruct() {
|
||||
// NOTE: at ProtoCGo, blob is go heap memory, no need to destruct
|
||||
protoCGo.blob = nil
|
||||
|
|
Loading…
Reference in New Issue