OSdep: fixed memory leak when opening interface (Closes: #1148). Thanks to Moshe Kaplan.

git-svn-id: http://svn.aircrack-ng.org/trunk@2347 28c6078b-6c39-48e3-add9-af49d547ecab