|
From: libvidcap c. m. <lib...@li...> - 2007-09-07 21:33:44
|
Revision: 8
http://libvidcap.svn.sourceforge.net/libvidcap/?rev=8&view=rev
Author: bcholew
Date: 2007-09-07 14:33:40 -0700 (Fri, 07 Sep 2007)
Log Message:
-----------
DirectShow-specific release function should only cleanup DirectShow-specific stuff. Generic layer frees the source context.
Modified Paths:
--------------
trunk/src/sapi_dshow.cpp
Modified: trunk/src/sapi_dshow.cpp
===================================================================
--- trunk/src/sapi_dshow.cpp 2007-09-07 21:24:00 UTC (rev 7)
+++ trunk/src/sapi_dshow.cpp 2007-09-07 21:33:40 UTC (rev 8)
@@ -126,7 +126,7 @@
source_release(struct sapi_src_context * src_ctx)
{
delete static_cast<DirectShowSource *>(src_ctx->priv);
- delete src_ctx;
+
return 0;
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|