Re: Why show image code doesn't run ?



Thanks, Yann,

That's it !

And thanks to all members for their remarks and patience, today...

2015-02-24 21:32 GMT+01:00 Yann LEYDIER <yann leydier info>:
Hi,

in B, once you exit the constructor, the vector image_pixels is destroyed and its content freed. Therefore, your Pixbuf pixels point to unallocated memory that can be overwritten with anything.

yann

On 24/02/2015 21:12, Glus Xof wrote:
Hi guys,

Trying to implement the conclusions of the last thread (related on
buffer pixels storing), I encountered another very strange situation...

While Code A (pastebin.com/3K6P5X9g <http://pastebin.com/3K6P5X9g>) runs
perfectly...  Code B (pastebin.com/nrbNTZzH
<http://pastebin.com/nrbNTZzH>) doesn't...

Why this code B fails ?

Glus


_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
https://mail.gnome.org/mailman/listinfo/gtkmm-list


_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
https://mail.gnome.org/mailman/listinfo/gtkmm-list



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