Commit 410eb30c authored by Péter Trombitás's avatar Péter Trombitás

Fix for #6192 (Mismatching delete)

parent cb012010
...@@ -608,7 +608,7 @@ bool CvCapture_GStreamer::open( int type, const char* filename ) ...@@ -608,7 +608,7 @@ bool CvCapture_GStreamer::open( int type, const char* filename )
struct stat buf; struct stat buf;
if (pathSize == 0 || stat(uri, &buf) != 0) if (pathSize == 0 || stat(uri, &buf) != 0)
{ {
delete uri; delete[] uri;
uri = NULL; uri = NULL;
} }
#else #else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment