[vlc-devel] commit: AddRef() was called on wrong object in SetPicture() ( Sergey Puzanov )
git version control
git at videolan.org
Thu Jun 18 14:13:12 CEST 2009
vlc | branch: master | Sergey Puzanov <snark at undev.ru> | Thu Jun 18 15:05:17 2009 +0400| [c2fba7f8ca3f2c3465a459b4d01cf4f74aafe765] | committer: JP Dinger
AddRef() was called on wrong object in SetPicture()
Signed-off-by: JP Dinger <jpd at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=c2fba7f8ca3f2c3465a459b4d01cf4f74aafe765
---
projects/activex/plugin.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/projects/activex/plugin.h b/projects/activex/plugin.h
index a760c9b..867f2d1 100644
--- a/projects/activex/plugin.h
+++ b/projects/activex/plugin.h
@@ -162,7 +162,7 @@ public:
if( NULL != _p_pict )
_p_pict->Release();
if( NULL != pict )
- _p_pict->AddRef();
+ pict->AddRef();
_p_pict = pict;
};
More information about the vlc-devel
mailing list