Explorar el Código

Merge pull request #659 from noshbar/text-memory-leak

Fixes memory leak in text.c
pull/661/head
Ray hace 7 años
cometido por GitHub
padre
commit
a12cafe84d
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: 4AEE18F83AFDEB23
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. +1
    -0
      src/text.c

+ 1
- 0
src/text.c Ver fichero

@ -527,6 +527,7 @@ Image GenImageFontAtlas(CharInfo *chars, int charsCount, int fontSize, int paddi
else TraceLog(LOG_WARNING, "Character could not be packed: %i", i); else TraceLog(LOG_WARNING, "Character could not be packed: %i", i);
} }
free(rects);
free(nodes); free(nodes);
free(context); free(context);
} }

Cargando…
Cancelar
Guardar