From 21e8df4493f30624e0691ce482c44eef39f494ce Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Sat, 4 Oct 2014 23:41:27 +0200 Subject: Don't leak name --- libplanfahr/providers/hafas-bin6.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libplanfahr/providers/hafas-bin6.c b/libplanfahr/providers/hafas-bin6.c index c682b3f..fc059aa 100644 --- a/libplanfahr/providers/hafas-bin6.c +++ b/libplanfahr/providers/hafas-bin6.c @@ -776,6 +776,7 @@ lpf_provider_hafas_bin6_parse_station(const gchar *data, guint16 off, LpfLoc *lo NULL); ret = 0; err: + g_free (name); return ret; } -- cgit v1.2.3