New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repository: don't jump to cleanup unecessarily #353

Merged
merged 1 commit into from Mar 26, 2014

Conversation

Projects
None yet
2 participants
@carlosmn
Member

carlosmn commented Mar 26, 2014

Until we have successfully borrowed the message, we have not used up any
resources, we can skip jumping to 'out' and we can return NULL
directly. This also avoid dereferencing an uninitialised 'tmessage'.

Repository: don't jump to cleanup unecessarily
Until we have successfully borrowed the message, we have not used up any
resources, we can skip jumping to 'out' and we can return NULL
directly. This also avoid dereferencing an uninitialised 'tmessage'.

@jdavid jdavid merged commit 4c3c706 into libgit2:master Mar 26, 2014

1 check passed

default The Travis CI build passed
Details

@carlosmn carlosmn deleted the carlosmn:uninitialsed branch Mar 27, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment