char *tmp = proc_desc(a,b); sv_setpv(RETVAL, tmp, 0); free(tmp);