Fix for #6192 (Mismatching delete)
This commit is contained in:
parent
cb012010c6
commit
410eb30c26
@ -608,7 +608,7 @@ bool CvCapture_GStreamer::open( int type, const char* filename )
|
||||
struct stat buf;
|
||||
if (pathSize == 0 || stat(uri, &buf) != 0)
|
||||
{
|
||||
delete uri;
|
||||
delete[] uri;
|
||||
uri = NULL;
|
||||
}
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user