From 258dae8478e5de6218ce3594ba4ff51afe0981e4 Mon Sep 17 00:00:00 2001 From: Zefram Date: Tue, 14 Nov 2017 12:56:35 +0000 Subject: [PATCH] fix newPVOP() doc re freeing of pv [perl #127697] --- op.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/op.c b/op.c index befef7c..18631d0 100644 --- a/op.c +++ b/op.c @@ -7193,9 +7193,10 @@ Perl_newGVOP(pTHX_ I32 type, I32 flags, GV *gv) Constructs, checks, and returns an op of any type that involves an embedded C-level pointer (PV). C is the opcode. C gives -the eight bits of C. C supplies the C-level pointer, which -must have been allocated using C; the memory will -be freed when the op is destroyed. +the eight bits of C. C supplies the C-level pointer. +Depending on the op type, the memory referenced by C may be freed +when the op is destroyed. If the op is of a freeing type, C must +have been allocated using C. =cut */ -- 1.8.3.1