batman-adv: release vlan object after checking the CRC
batman-adv: release vlan object after checking the CRC

There is a refcounter unbalance in the CRC checking routine
invoked on OGM reception. A vlan object is retrieved (thus
its refcounter is increased by one) but it is never properly
released. This leads to a memleak because the vlan object
will never be free'd.

Fix this by releasing the vlan object after having read the
CRC.

Reported-by: Russell Senior <cd5d49e4d71817d0d870f02fc19163fd3c2f6d3a@personaltelco.net>
Reported-by: Daniel <3d0f3b9ddcacec30c4008c5e030e6c13a478cb4f@makrotopia.org>
Reported-by: cmsv <a992ee95e5fba9d117d5e36cf2dae7a1575fd189@wirelesspt.net>
Signed-off-by: Antonio Quartulli <a08f08bac39aeae6c9580ade7aa8387b5a0e7428@meshcoding.com>
Signed-off-by: Marek Lindner <5760fd64db566c47bfb7ce809fea1d3e512880cf@neomailbox.ch>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs