-
Notifications
You must be signed in to change notification settings - Fork 185
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allocate receive buffer on stack instead of heap
Changed to code in `[Encrypt]CopyRegularFileNet` to allocate the receive buffer on the stack instead of the heap. There is no reason to have it dynamically allocated since the size is constant. Furthermore, the buffer is allocated and destroyed in the same scope. Ticket: None Changelog: None Signed-off-by: Lars Erik Wik <[email protected]>
- Loading branch information
Showing
1 changed file
with
5 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters