diff options
Diffstat (limited to 'src/libserver/maps/map.c')
-rw-r--r-- | src/libserver/maps/map.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/libserver/maps/map.c b/src/libserver/maps/map.c index eaf7958f8..d30b2b40d 100644 --- a/src/libserver/maps/map.c +++ b/src/libserver/maps/map.c @@ -2661,6 +2661,14 @@ err: g_free (hdata); } + if (fdata) { + g_free (fdata); + } + + if (sdata) { + g_free (sdata); + } + return NULL; } |