From c4a6c0a8779d0cf27b4cbef33be2c2a6b7aaa56d Mon Sep 17 00:00:00 2001 From: Daniel M Date: Thu, 8 Feb 2024 11:36:38 +0100 Subject: [PATCH] free_minfield --- .../out/c/duellist-spielesammlung-projekt.o | Bin 13524 -> 13872 bytes .../test_duellist_spielesammlung_projekt.out | Bin 98062 -> 98608 bytes .../test_duellist_spielesammlung_projekt.pass | 2 +- src/main/duellist-spielesammlung-projekt.c | 11 ++++++++++- 4 files changed, 11 insertions(+), 2 deletions(-) diff --git a/build/test/out/c/duellist-spielesammlung-projekt.o b/build/test/out/c/duellist-spielesammlung-projekt.o index 8bbf2dc84b4eb0eb9e6cd101e8de5794555378c6..8177a072c6a453d32e18af9d1d5c0b104f18549b 100644 GIT binary patch delta 3812 zcmY+Hdu&tJ9mjv?+A#*_pxt=g#i$7r`kYMGGwW^AaPs5(*T9vTcNrJIUaMkhg=ea}7DzY$06_G0bC)vR%wEX4lCr zqSjbhC!Y~>+~dgDUPttHqb}i{I3b=cmQNb4Z-vHUlLvhJl|B}8iqm5>YOlVc%)PNm z0q5da;Sc`;S6)6Db1Lt+Tva+M3gy|-j>vx|r=~_@*Tx>cI2OBda#^(*FuJ+2(#Nl_b0Y0<9LMwxO*i03rIyG{3PnyJ{{8&^b*9C&c;sQAmSeq?3 zEB3@w$@o?h=TySV8ANY5ROR1eR(`YcIo%og&CV>#?l*@qlZ>3xZ?1u56;_x_U|FRV z`4zAPUm)H;+&7dg8YJ;?fjR4bs+8ZW3@)$7(0b5U^MjhhylPEG4`W%*0H*eu_GAKE zm{TbBR%IxATop5WJ~FM?k!i&&%jq|F#j*-j=@;^)2YdSxJ*i}Rb83jyRKQesr4vIb z786t+A58WRnfoQz2mRSN)>E(4Azh916fDbLu`4~4O5=1K(hIRJXfFA)y5S8~$FRTm zU|$xXj_T>BR!o0W*wcn+cyCm;bkEN=#*O%vSAfoaWHmOW@L z!PD9|grv@@X!hHSJ0>g$mGPixSaeR*R~|0{cG^9d1{LJhp9MXo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j2=RzYbHN}gOBK&~jr z1`vZH`^Uvkt1+XxA+WgJnc5oGHq}_jkf-pC^59HWWW1kSDW;m8cqsUXja-||Rbf&kpBI`4q+%TuqjAeoAKeFZWV zI-cTO1F2WUH4MTPJQMT*NcAGQKW>R{eJk+u1;0E>dJyH-JqhHPB6fq*$`fK0NQFYD zS-f70{C){RwmS;GFImh@J**jiEq~7}QwmEh4cT?Oq=7hfpIO?2<^qX&6QQS9*`a}}OTxD`eB Uazsn|KQ`k>tbS7q{WSRh0hdh5bpQYW diff --git a/build/test/results/test_duellist_spielesammlung_projekt.pass b/build/test/results/test_duellist_spielesammlung_projekt.pass index bdcfc4b..876525d 100644 --- a/build/test/results/test_duellist_spielesammlung_projekt.pass +++ b/build/test/results/test_duellist_spielesammlung_projekt.pass @@ -75,4 +75,4 @@ :failed: 0 :ignored: 0 :stdout: [] -:time: 0.04494909999993979 +:time: 0.043835999999828346 diff --git a/src/main/duellist-spielesammlung-projekt.c b/src/main/duellist-spielesammlung-projekt.c index 2f95108..d3f4e78 100644 --- a/src/main/duellist-spielesammlung-projekt.c +++ b/src/main/duellist-spielesammlung-projekt.c @@ -308,6 +308,16 @@ int end_check(char** minefield, char** mines, int height, int width) { return 1; } +void free_minefield(char** minefield, int height) { + int i; + // Free each vector + for (i = 0; i < height; i++) { + free(minefield[i]); + } + free(minefield); + minefield = NULL; +} + int minesweeper() { int height, width, row, column; printf("Enter the height of the game field:\n"); @@ -369,7 +379,6 @@ int minesweeper() { show_minefield(mines, height, width); } } - return 1; }