projects
/
goodguy
/
history.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
clipedit remove vs delete
[goodguy/history.git]
/
cinelerra-5.0
/
cinelerra
/
clipedit.C
diff --git
a/cinelerra-5.0/cinelerra/clipedit.C
b/cinelerra-5.0/cinelerra/clipedit.C
index d747f7e4b33f248e147c3d6880269c66cac690b7..0787f338a7d5c87e4fade1d1cfa2cf88922b33ac 100644
(file)
--- a/
cinelerra-5.0/cinelerra/clipedit.C
+++ b/
cinelerra-5.0/cinelerra/clipedit.C
@@
-89,7
+89,7
@@
void ClipEdit::handle_close_event(int result)
// For creating new clips, the original was copied in add_clip.
// For editing old clips, the original was transferred to another variable.
- if(!create_it)
delete clip
;
+ if(!create_it)
clip->remove_user()
;
original = 0;
clip = 0;
create_it = 0;