Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Comment
by
btrask
· 5y ago · 0 comments
If you are transferring ownership, you would do
p2 = p1; p1 = NULL;
However if you are intentionally doing multiple ownership, then yes you can still have problems.
Comments
No comments yet.
Better HN