From 174181605224be62b6813b079d3a435f7e9f4ff8 Mon Sep 17 00:00:00 2001 From: Daniel M Date: Thu, 8 Feb 2024 11:39:52 +0100 Subject: [PATCH] get memory_mines --- .../out/c/duellist-spielesammlung-projekt.o | Bin 13888 -> 13912 bytes .../test_duellist_spielesammlung_projekt.out | Bin 98608 -> 98608 bytes .../test_duellist_spielesammlung_projekt.pass | 2 +- src/main/duellist-spielesammlung-projekt.c | 1 + 4 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build/test/out/c/duellist-spielesammlung-projekt.o b/build/test/out/c/duellist-spielesammlung-projekt.o index 390f04a06c661f5b65e2deaa9ab4ea77f37265a9..c4f8ca157d31be18a2193977aae32e3aa6ada235 100644 GIT binary patch delta 230 zcmX?*b0de-hmo5B1XfJsl;&I_$iQ%hk%2*HqHZx`!Ni5?tRbQd3{n%%Dl?i*{HV@q zuLP8zEXyd*`HF>sAs)zkFxiz+nbC7{CZjrI>Ewxw>Z~)>85mw|-pd%s&lozHU+@lN z#pXAHDU9;nt}i-WR9L!Q-*mF5ym(p{F#>gpGmq^~dmMIHG#TA7@9SzVf$nNKqvc09_%0(8@6 W0WCQW#)Xshjeaw}+N^CX$_xNUB}7L6 delta 208 zcmcbSb0CM)hmo5B1SU-6l;)fu$iQ%hk%2*EqHZx`%*2K2tPY|K3``TxDl;lg{HV^V zt;E2vWwI=zJm(7*1_o~+@5E$RMrB6h$(fAmjPa8vGODvSt1~cM+Ps%Bke|_cGQZ#* z#eH)RB*)mC1>h)uox4c_-6h$D=$fESoj7P*;ter0K7If A_5c6? diff --git a/build/test/out/test_duellist_spielesammlung_projekt.out b/build/test/out/test_duellist_spielesammlung_projekt.out index e93a10bbd3bcfc3682bd8e623ef3217167b68504..202fa72e13505c0351b90040fa759f51200ef51e 100644 GIT binary patch delta 4237 zcmZ8k3sh5A7JVlq5|M8M0*0UA7l>dYAhZHTAq4z_ihw`^3LQ~ER2ZG92rV*}VI08& zUa;!m)YVE`9c)^#?bL}?Yn|3rt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`igPPQ_uueNCM`i2KRjOuU2zA&8LVrDoIT!c!<^L5a{T(dv2rexPO762Tt^7$k{9KoaQb$KA5H zU_X07@SSf7n4h0twz7DgP%(;F)XAkM3DyP-j52&9QpmevfyLWm+ro4@cp5!0N^sLk zZo1H7%8@og6pJi~#kr1cOa{Gjkp5dSyx|t2n|+fEmmrWG*3(Li?3^Ah$!;$pGX@cK zY4*HlP`0v0|G{AC48xnFuBsARuV8g(31sq%{} z*R5RlvQWoa@w6?$>)5;G7I1!*h2RU2I8c$UwjdVMF7{|1=)sr8r%|51Y;_ux)OHnH z%(&w$ax5qri|7gI9*5)*B9xA`Ddk?{kQzc-MiEN_zH7LbAXve5x($G4-fiCtlp-R)ZIQyIg zy1O&7DbAYSrP&Y;%Iwhy`4!bwm84g}SPt#4g8h&~i7aNW%i$Dcvn$I96qtW5Ij1mv zE^)J24b1|y<6>N#NW1u4G{3T_YHeA?d3GunO5hL+&!gcxwl@#_m0_c1d=HN*sa)B= ziGUsKQ65EG%;Hzju!C)10XYHkan`$BsH#Sh{HpTO@{L6se3|SeTD4Imc&Fme5i)II z3tpmS9Ae6R(l@eb8k8T7CZ1naT*miO!^-k$^D5Zsdj^T8xK9X4Yn#cvr+j1%5&f-t}~u7o!!u*WKBrlxUt6$zhVD^`oyY+X%U g81pZrpuVi6kigljxsbNFj-4u`OX=Rbw+K-6KPf2&)Bpeg diff --git a/build/test/results/test_duellist_spielesammlung_projekt.pass b/build/test/results/test_duellist_spielesammlung_projekt.pass index d908e27..2f9ec3f 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.04344689999993534 +:time: 0.04444100000000617 diff --git a/src/main/duellist-spielesammlung-projekt.c b/src/main/duellist-spielesammlung-projekt.c index 2cacb1a..d0a7c8b 100644 --- a/src/main/duellist-spielesammlung-projekt.c +++ b/src/main/duellist-spielesammlung-projekt.c @@ -380,6 +380,7 @@ int minesweeper() { } } free_minefield(minefield, height); + free_minefield(mines, height); return 1; }