Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libnice
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
cpp-libs
libnice
Commits
88c849be
Commit
88c849be
authored
Dec 10, 2008
by
Youness Alaoui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use g_slice_new0 instead of g_slice_new
parent
16c42171
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
socket/pseudossl.c
socket/pseudossl.c
+1
-1
socket/tcp-bsd.c
socket/tcp-bsd.c
+1
-1
No files found.
socket/pseudossl.c
View file @
88c849be
...
...
@@ -213,7 +213,7 @@ add_to_be_sent (NiceSocket *sock, const NiceAddress *to,
if
(
len
<=
0
)
return
;
tbs
=
g_slice_new
(
struct
to_be_sent
);
tbs
=
g_slice_new
0
(
struct
to_be_sent
);
tbs
->
buf
=
g_memdup
(
buf
,
len
);
tbs
->
length
=
len
;
tbs
->
to
=
*
to
;
...
...
socket/tcp-bsd.c
View file @
88c849be
...
...
@@ -335,7 +335,7 @@ add_to_be_sent (NiceSocket *sock, const gchar *buf, guint len, gboolean head)
if
(
len
<=
0
)
return
;
tbs
=
g_slice_new
(
struct
to_be_sent
);
tbs
=
g_slice_new
0
(
struct
to_be_sent
);
tbs
->
buf
=
g_memdup
(
buf
,
len
);
tbs
->
length
=
len
;
if
(
head
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment