Skip to content

Commit

Permalink
With a mem leak
Browse files Browse the repository at this point in the history
  • Loading branch information
levb committed Apr 23, 2024
1 parent 7410edd commit 8931c48
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/on-push-quick.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ defaults:

jobs:
quick:
name: "Default"
strategy:
fail-fast: false
matrix:
compiler: [gcc, clang]
ubuntu_version: [latest, 20.04]
uses: ./.github/workflows/build-test.yml
name: "Default"
with:
server_version: main
ubuntu_version: ${{ matrix.ubuntu_version }}
Expand Down
4 changes: 2 additions & 2 deletions src/conn.c
Original file line number Diff line number Diff line change
Expand Up @@ -237,8 +237,8 @@ natsConn_release(natsConnection *nc)

natsConn_Unlock(nc);

if (refs == 0)
_freeConn(nc);
// if (refs == 0)
// _freeConn(nc);
}

void
Expand Down

0 comments on commit 8931c48

Please sign in to comment.