Skip to content
This repository was archived by the owner on Nov 20, 2020. It is now read-only.

Conversation

@GregAujay
Copy link

I ran cppcheck on luaDist/lua and it found these errors:
loadlib_rel.c 202 resourceLeak error Resource leak: fd
loadlib_rel.c 193 uninitvar error Uninitialized variable: n

First one was in the #else and second one in the #elif defined(APPLE)

drahosp added a commit that referenced this pull request Dec 1, 2013
fix error and mem leak found by cppcheck
@drahospdrahosp merged commit 8264a49 into LuaDist:masterDec 1, 2013
@drahosp
Copy link
Member

Ah, good catch. Thank You !

Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@GregAujay@drahosp