aboutsummaryrefslogtreecommitdiff
path: root/src/sell.c
diff options
context:
space:
mode:
authorFranklin Wei <git@fwei.tk>2015-05-17 17:29:14 -0400
committerFranklin Wei <git@fwei.tk>2015-05-17 17:29:14 -0400
commitd18dba4781fe5044e567fd3c85b43ea9a8b001b0 (patch)
tree8a454c5c31cfc72d17e6ccda5137582b1bae3e82 /src/sell.c
parent8e9a52ceae1f2e0fac76d06ff5e6a2170dcdd1bb (diff)
downloadmarket-sim-d18dba4781fe5044e567fd3c85b43ea9a8b001b0.zip
market-sim-d18dba4781fe5044e567fd3c85b43ea9a8b001b0.tar.gz
market-sim-d18dba4781fe5044e567fd3c85b43ea9a8b001b0.tar.bz2
market-sim-d18dba4781fe5044e567fd3c85b43ea9a8b001b0.tar.xz
fix some memory leaks
Diffstat (limited to 'src/sell.c')
-rw-r--r--src/sell.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sell.c b/src/sell.c
index d390419..da5aaa0 100644
--- a/src/sell.c
+++ b/src/sell.c
@@ -52,6 +52,7 @@ void sell_handler(struct player_t *player)
{
stock->count -= sell_count;
+ /* commented out to preserve history */
#if 0
if(stock->count == 0)
{