Skip to content

Conversation

@HarryWei
Copy link
Contributor

We cannot free conn in function sqlite3_rcvfs_disconnect untill we are sure it is not null.

@jblomer
Copy link
Owner

jblomer commented Apr 24, 2015

Why should conn be NULL at this point?

@HarryWei
Copy link
Contributor Author

Hi Jakob,
Yes, it seems conn would not be NULL here. I just think it is safer to check NULL before free it. Anyway, this pull is really trivial ;-)
BTW, I find sqlite3_rcvfs_refresh_leases is in our TODO list and I could try to realize it, any comments?

Thanks very much, Weiwei

@HarryWei HarryWei changed the title Check not null before free memory Add user input ramcloud locator and database name for test cases Apr 24, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants