summaryrefslogtreecommitdiffstats
path: root/rrlp.c
diff options
context:
space:
mode:
authorSylvain Munaut <tnt@246tNt.com>2009-12-28 00:00:45 +0100
committerHarald Welte <laforge@gnumonks.org>2010-01-07 10:22:23 +0100
commit90e46f50552267957beef42829426ebb338b92a0 (patch)
treef06fcc309a0744b3d82f9785957d3a3acdbe5b58 /rrlp.c
parent341542b9d316fe7f2c5c8ba1d867de7f1ab21cfa (diff)
rrlp-ephemeris: Fix memory leak
We need to go through all the object release code ... Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Diffstat (limited to 'rrlp.c')
-rw-r--r--rrlp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/rrlp.c b/rrlp.c
index 8b0d14a..ad8eb5b 100644
--- a/rrlp.c
+++ b/rrlp.c
@@ -582,7 +582,7 @@ rrlp_gps_assist_pdus(
o_len[i] = rv;
}
- return lst_cnt;
+ rv = lst_cnt;
/* Release ASN.1 objects */
error: