Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'master' of github.com:kipr/libkovan

  • Loading branch information...
commit 8ed1f5ae3886f7c61a09f081c13065902b830bc3 2 parents e20d40c + d82db09
@bmcdorman bmcdorman authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 src/camera.cpp
View
5 src/camera.cpp
@@ -306,8 +306,9 @@ Camera::Device::Device(InputProvider *const inputProvider)
Camera::Device::~Device()
{
- ChannelPtrVector::iterator it = m_channels.begin();
+ ChannelPtrVector::const_iterator it = m_channels.begin();
for(; it != m_channels.end(); ++it) delete *it;
+ delete m_inputProvider;
}
bool Camera::Device::open(const int number)
@@ -411,4 +412,4 @@ void Camera::Device::updateConfig()
m_config.endGroup();
}
m_config.endGroup();
-}
+}
Please sign in to comment.
Something went wrong with that request. Please try again.