2 Commits

Author SHA1 Message Date
PoliEcho 52bea2e3c5 fix SEGFAULT when nullptr
/ sync-to-origin (push) Has been cancelled
2025-04-01 09:32:38 +02:00
PoliEcho 22333b6593 version 0.7.1
/ sync-to-origin (push) Has been cancelled
2025-04-01 09:05:28 +02:00
2 changed files with 5 additions and 2 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
#include <string_view>
#ifndef VERSION
#define VERSION "0.7"
#define VERSION "0.7.2"
#define NAME "bakatui"
inline constexpr auto hash_djb2a(const std::string_view sv) {
@@ -16,4 +16,4 @@ inline constexpr auto operator"" _sh(const char *str, size_t len) {
return hash_djb2a(std::string_view{str, len});
}
#endif
#endif
+3
View File
@@ -5,6 +5,9 @@
#include <panel.h>
void delete_all(std::vector<allocation> *allocated) {
if (allocated == nullptr) {
return;
}
for (long long i = allocated->size() - 1; i >= 0; i--) {
switch (allocated->at(i).type) {
case WINDOW_ARRAY: {