[libbluray-devel] HDMV: free possible IG object when resuming suspended object
hpi1
git at videolan.org
Mon May 2 13:52:43 CEST 2011
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Mon May 2 14:01:56 2011 +0300| [41f77cf119148620863127388d47e9861f79a38f] | committer: hpi1
HDMV: free possible IG object when resuming suspended object
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=41f77cf119148620863127388d47e9861f79a38f
---
src/libbluray/hdmv/hdmv_vm.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/libbluray/hdmv/hdmv_vm.c b/src/libbluray/hdmv/hdmv_vm.c
index 9e94337..34ece6f 100644
--- a/src/libbluray/hdmv/hdmv_vm.c
+++ b/src/libbluray/hdmv/hdmv_vm.c
@@ -320,6 +320,8 @@ static int _resume_object(HDMV_VM *p, int psr_restore)
return -1;
}
+ _free_ig_object(p);
+
p->object = p->suspended_object;
p->pc = p->suspended_pc + 1;
More information about the libbluray-devel
mailing list