Allocate UTL_FILE structs with palloc rather than malloc().
To avoid memory leaks. The callers better be in a sufficiently long-lived memory context.
Showing
想要评论请 注册 或 登录
To avoid memory leaks. The callers better be in a sufficiently long-lived memory context.