Skip to content

Commit a2f6fc5

Browse files
committed
Use shared pointers to avoid use memory after free
TN: U504-028
1 parent ee2fb76 commit a2f6fc5

File tree

7 files changed

+164
-158
lines changed

7 files changed

+164
-158
lines changed

src/core/aws-net-websocket-registry-utils.ads

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ package AWS.Net.WebSocket.Registry.Utils is
3737
-- if the server has reached the limit of opened WebSocket for example.
3838

3939
procedure Watch (WebSocket : in out Object_Class) with
40-
Pre => WebSocket /= null;
40+
Pre => WebSocket /= No_Object;
4141

4242
end AWS.Net.WebSocket.Registry.Utils;

0 commit comments

Comments
 (0)