Permalink
Browse files

mising instance of THROW_STACKED_EXCEPTION

  • Loading branch information...
jlblancoc committed Nov 10, 2018
1 parent 182dd74 commit 7350eb7cdaf36a28dba3eee81461518a49f9c9e9
Showing with 2 additions and 3 deletions.
  1. +2 −3 libs/hwdrivers/src/CImageGrabber_dc1394.cpp
@@ -852,12 +852,11 @@ void CImageGrabber_dc1394::enumerateCameras(TCameraInfoList& out_list)
dc1394_camera_free_list(list);
list = nullptr;
}
catch (const std::exception& e)
catch (...)
{
if (list) dc1394_camera_free_list(list);
if (lib_context) dc1394_free(lib_context);

THROW_STACKED_EXCEPTION(e);
THROW_STACKED_EXCEPTION;
}
#else
THROW_EXCEPTION("The MRPT has been compiled with MRPT_HAS_LIBDC1394_2=0 !");

0 comments on commit 7350eb7

Please sign in to comment.