Re: Memory problems with g_list_append()



Ugh, it's always the stupidest mistakes that
bite you the most. =P

Thanks, Paul and Sven.

Jeff Shipman           E-Mail: jeff nmt edu
Systems Programmer     Phone: (505) 835-5748
NMIMT Computer Center  http://www.nmt.edu/~jeff

On 29 Jan 2002, Sven Neumann wrote:

} Hi,
}
} Unless getusershell() returns a copied version (which I doubt
} it does) you need to insert the g_strdup'ed value of shell
} into your list.
}
}
} Salut, Sven
}




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