]> git.sesse.net Git - kdenlive/blobdiff - src/v4l/v4lcapture.cpp
Fix Coverity #980671
[kdenlive] / src / v4l / v4lcapture.cpp
index ada255b439787a912f47a8ec0d631f725ac1a30a..5d4f632935408af9098e18a338e5fe76897f7334 100644 (file)
@@ -122,7 +122,7 @@ QStringList V4lCaptureHandler::getDeviceName(QString input)
         }
     }
     close(fd);
-    delete[] src;
+    free(src);
 
     QStringList result;
     if (devName == NULL) return result;