Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions win32/is_image_supported_lib/IsImageSupportedLib.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@
If return value is non-null it must be freed by the caller
*/
char* isImageSupported(const char* path, const char* password) {
if (path == nullptr) {
return nullptr;
}

TskIsImageSupported tskIsImage;
if (password != NULL) {
std::string passwordStr(password);
Expand Down