libotutil: Fix leak of VariantMapData

Closes: #333
Approved by: giuseppe
This commit is contained in:
Alexander Larsson 2016-06-10 12:10:37 +02:00 committed by Atomic Bot
parent 70af1d26b1
commit 8e3d558f23

View File

@ -157,6 +157,7 @@ variant_map_data_destroy (gpointer data)
{
VariantMapData *mdata = data;
(void) munmap (mdata->addr, mdata->len);
g_free (mdata);
}
gboolean