I get this error when compiling and have checked out other questions here with no further progress:
funciones.c: In function ‘Lyapunov’: ../funciones.
to avoid all the messy malloc/free calls, etc. define the rgb in the caller and pass the address to the function.