Skip to content

Commit c8636ab

Browse files
committed
Fix compilation error when building without OpenSSL.
1 parent d6837aa commit c8636ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

logsrvd/logsrvd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ connection_closure_free(struct connection_closure *closure)
127127
SSL_shutdown(closure->ssl);
128128
SSL_free(closure->ssl);
129129
}
130+
free(closure->name);
130131
#endif
131132
if (closure->sock != -1) {
132133
shutdown(closure->sock, SHUT_RDWR);
@@ -153,7 +154,6 @@ connection_closure_free(struct connection_closure *closure)
153154
free(buf->data);
154155
free(buf);
155156
}
156-
free(closure->name);
157157
free(closure->journal_path);
158158
if (closure->journal != NULL)
159159
fclose(closure->journal);

0 commit comments

Comments
 (0)