Re: [Vala] String manipulation => double free crash



On Sat, Jul 26, 2008 at 6:54 PM, Frederik <scumm_fredo gmx net> wrote:
This minimal program results in the same error:

string get_string () {
       return "foo";
}

void main () {
       string s = true ? get_string () : "bar";
}

Certainly looks like the ? operator is to blame. I'll add it to #543870.

Cheers,

Andrew

-- 
Andrew Flegg -- mailto:andrew bleb org | http://www.bleb.org/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]