Skip to content

Commit

Permalink
Merge pull request #53 from AgonConsole8/less-malloc-mem
Browse files Browse the repository at this point in the history
Less malloc mem
  • Loading branch information
stevesims authored Apr 1, 2024
2 parents 07c6a3a + d0ce6bd commit 62df904
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ int main(void) {
putch(12); // Clear the screen
}

empty = malloc(6502); // Allocate some memory to ensure the heap is initialised
empty = malloc(4004); // Allocate some memory to ensure the heap is initialised
free(empty); // Free the memory
if (empty == NULL) {
printf("Memory allocation failed\n\r");
Expand Down
2 changes: 1 addition & 1 deletion src/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#define VERSION_MAJOR 2
#define VERSION_MINOR 2
#define VERSION_PATCH 2
#define VERSION_PATCH 3
// #define VERSION_CANDIDATE 1 // Optional
// #define VERSION_TYPE "Test " // RC, Alpha, Beta, etc.

Expand Down

0 comments on commit 62df904

Please sign in to comment.