Skip to content

Commit

Permalink
free allocated memory (Coverity)
Browse files Browse the repository at this point in the history
1404903 Resource leak
  • Loading branch information
msmeissn committed Jun 5, 2017
1 parent 73bf500 commit b478473
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions camlibs/pentax/library.c
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,7 @@ camera_summary (Camera *camera, CameraText *summary, GPContext *context)
"Using code from pktriggercord by Andras Salamon.\n"
"Collected Status Information:\n%s"
), statusinfo);
free (statusinfo);
return GP_OK;
}

Expand Down

0 comments on commit b478473

Please sign in to comment.