diff options
Diffstat (limited to 'python-ethtool/etherinfo.c')
-rw-r--r-- | python-ethtool/etherinfo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python-ethtool/etherinfo.c b/python-ethtool/etherinfo.c index c8bbb0f..8d56279 100644 --- a/python-ethtool/etherinfo.c +++ b/python-ethtool/etherinfo.c @@ -234,6 +234,7 @@ int get_etherinfo(struct etherinfo_obj_data *data, nlQuery query) if( ethinf->index < 0 ) { return 0; } + rtnl_link_put(link); nl_cache_free(link_cache); } |