res_pjsip_session.c: Fix build when TEST_FRAMEWORK is not defined
[asterisk/asterisk.git] / res / res_stir_shaken / curl.c
index 634c2bf..ab29e3d 100644 (file)
@@ -41,7 +41,7 @@ struct curl_cb_data *curl_cb_data_create(void)
 {
        struct curl_cb_data *data;
 
-       data = ast_calloc(1, sizeof(data));
+       data = ast_calloc(1, sizeof(*data));
 
        return data;
 }