passing structs by value
[m6w6/ext-psi] / tests / idn / idn.psi
index 2bed911651c95d2af4745eb8bf1fcd843bdf5913..7c585b793bb7c89ff6c0302813a7f6166845c948 100644 (file)
@@ -27,7 +27,7 @@ function idn\utf8_to_ascii(string $host, string &$result, int $flags = 0) : int
        let flags = intval($flags);
        set $result = to_string(*buffer);
        return to_int(idna_to_ascii_8z);
-       free free(buffer);
+       free free(*buffer);
 }
 default char *idna_strerror(int rc);
 function idn\strerror(int $rc) : string {