diff --git a/Password_manager/source/main.cpp b/Password_manager/source/main.cpp index d1351d5..aa89d90 100644 --- a/Password_manager/source/main.cpp +++ b/Password_manager/source/main.cpp @@ -155,7 +155,7 @@ int main(int argc, char** argv) break; } - + if (pass == nullptr) return 1; #ifdef _DEBUG printf_s("Password: %s", pass->password); #else