Quentin Rameau wrote:
> Yeah, I saw your patch after having sent mine, sorry about that, I didn't mean
> to redo the work.
Heyho Quentin,
It was not just redoing the work. Now we don't waste time mallocing, when there
are no slides to display. ;)
--Markus
> Heyho,
Hi :)
> of course that is another fix
Yeah, I saw your patch after having sent mine, sorry about that, I
didn't mean to redo the work.
> I merged it, thanks.
Thanks!
Quentin Rameau wrote:
> In load() we allocated slides before checking if we actually read anything
> from the FILE fp and then continue with an allocated but “empty” space wich
> would lead to errors.
Heyho,
of course that is another fix for the problem related to memory sanitazion. I
merged it,
commit a1dcdad14fb3a8ccdc97e86cb3aa25684778819c
Author: Quentin Rameau
AuthorDate: Wed Nov 18 23:21:33 2015 +0100
Commit: Markus Teich
CommitDate: Wed Nov 18 23:26:33 2015 +0100
Bail out before allocating slides if file is empty
In load() we allocated slides before checking