mirror of
https://github.com/aljazceru/lspd.git
synced 2025-12-19 14:54:22 +01:00
always close pgx rows
This commit is contained in:
@@ -60,6 +60,7 @@ func (s *NotificationsStore) GetRegistrations(
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
defer rows.Close()
|
||||
|
||||
var result []string
|
||||
for rows.Next() {
|
||||
|
||||
Reference in New Issue
Block a user