lookup-apn: Use mbpi_ap_free()
authorOleg Zhurakivskyy <oleg.zhurakivskyy@intel.com>
Tue, 18 Oct 2011 11:05:03 +0000 (14:05 +0300)
committerDenis Kenzior <denkenz@gmail.com>
Thu, 20 Oct 2011 17:42:31 +0000 (12:42 -0500)
tools/lookup-apn.c

index 83a94bb..f2727d3 100644 (file)
@@ -64,7 +64,7 @@ static void lookup_apn(const char *match_mcc, const char *match_mnc,
                printf("Username: %s\n", apn->username);
                printf("Password: %s\n", apn->password);
 
-               mbpi_provision_data_free(apn);
+               mbpi_ap_free(apn);
        }
 
        g_slist_free(apns);