diff options
-rw-r--r-- | net/batman-adv/vis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/batman-adv/vis.c b/net/batman-adv/vis.c index f69a3748f8ae..0be55beba054 100644 --- a/net/batman-adv/vis.c +++ b/net/batman-adv/vis.c | |||
@@ -444,7 +444,7 @@ static struct vis_info *add_packet(struct bat_priv *bat_priv, | |||
444 | info); | 444 | info); |
445 | if (hash_added < 0) { | 445 | if (hash_added < 0) { |
446 | /* did not work (for some reason) */ | 446 | /* did not work (for some reason) */ |
447 | kref_put(&old_info->refcount, free_info); | 447 | kref_put(&info->refcount, free_info); |
448 | info = NULL; | 448 | info = NULL; |
449 | } | 449 | } |
450 | 450 | ||