Skip to content

Commit

Permalink
Fix compile warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
clovett committed Feb 22, 2017
1 parent e211b2a commit edf186f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions MavLinkCom/MavLinkTest/UnitTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include "MavLinkVideoStream.hpp"
#include "MavLinkTcpServer.hpp"
#include "MavLinkFtpClient.hpp"
#include <thread>
#include <boost/algorithm/string.hpp>
#include <boost/filesystem.hpp>
#include <boost/filesystem/fstream.hpp>
Expand Down Expand Up @@ -163,7 +162,7 @@ class ImageServer {
image[i] = i;
}
stream->sendFrame(reinterpret_cast<uint8_t*>(image), size, 100, 100, 0, 0);
delete image;
delete [] image;
}
});
}
Expand Down

0 comments on commit edf186f

Please sign in to comment.