Locate any logic errors in the following [language] code snippet: [code snippet].
Identify potential performance issues in the given [language] code: [code snippet].
Find any resource leaks in the following [language] code and suggest fixes: [code snippet].
Check for potential deadlock issues in the given [language] code: [code snippet].
Review the following [language] code for potential SQL injection vulnerabilities: [code snippet].