Skip to content

Commit

Permalink
fixed missing pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
maldworth committed Sep 10, 2014
1 parent 790dfcb commit 97f15c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/camera_wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ namespace gphoto2pp
#if GPHOTO_LESS_25
m_port = portInfo.path;
#else
char * temp = nullptr;
gphoto2pp::checkResponse(gphoto2::gp_port_info_get_path(portInfo, &temp),"gp_port_info_get_path");
m_port = std::string(temp);
#endif
Expand Down

0 comments on commit 97f15c0

Please sign in to comment.