Re: Why show image code doesn't run ?
- From: Yann LEYDIER <yann leydier info>
- To: gtkmm-list gnome org
- Subject: Re: Why show image code doesn't run ?
- Date: Tue, 24 Feb 2015 21:32:21 +0100
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]