Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
savoirfairelinux
jami-daemon
Commits
d9ab9f1f
Commit
d9ab9f1f
authored
Apr 01, 2010
by
Alexandre Savard
Browse files
[#3116] Delete call id set in mainbuffer
parent
fda3fbf9
Changes
1
Hide whitespace changes
Inline
Side-by-side
sflphone-common/src/audio/mainbuffer.cpp
View file @
d9ab9f1f
...
...
@@ -65,7 +65,6 @@ bool MainBuffer::createCallIDSet (CallID set_id)
CallIDSet
*
newCallIDSet
=
new
CallIDSet
;
_callIDMap
.
insert
(
pair
<
CallID
,
CallIDSet
*>
(
set_id
,
newCallIDSet
));
// _callIDMap[set_id] = new CallIDSet;
return
true
;
...
...
@@ -79,6 +78,7 @@ bool MainBuffer::removeCallIDSet (CallID set_id)
if
(
callid_set
!=
NULL
)
{
if
(
_callIDMap
.
erase
(
set_id
)
!=
0
)
{
delete
callid_set
;
callid_set
=
NULL
;
return
true
;
}
else
{
_debug
(
"removeCallIDSet error while removing callid set %s!"
,
set_id
.
c_str
());
...
...
Write
Preview
Supports
Markdown
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