smb: set context to NULL after it has been freed

https://bugzilla.gnome.org/show_bug.cgi?id=710986