Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
XDG Integration
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Silent mode is enabled
All outbound communications are blocked.
Learn more
.
Show more breadcrumbs
JennaHuntsman
XDG Integration
Commits
8fae347b
Commit
8fae347b
authored
14 years ago
by
Boroondas Gupte
Browse files
Options
Downloads
Patches
Plain Diff
VWR-25654 FIXED memory leak in LLTranslate::getTranslateUrl
parent
f2d61c73
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/contributions.txt
+2
-0
2 additions, 0 deletions
doc/contributions.txt
indra/newview/lltranslate.cpp
+3
-1
3 additions, 1 deletion
indra/newview/lltranslate.cpp
with
5 additions
and
1 deletion
doc/contributions.txt
+
2
−
0
View file @
8fae347b
...
...
@@ -64,6 +64,7 @@ Aleric Inglewood
VWR-12691
VWR-13996
VWR-14426
VWR-25654
SNOW-766
Ales Beaumont
VWR-9352
...
...
@@ -160,6 +161,7 @@ Boroondas Gupte
SNOW-610
SNOW-624
VWR-233
VWR-25654
WEB-262
Bulli Schumann
CT-218
...
...
This diff is collapsed.
Click to expand it.
indra/newview/lltranslate.cpp
+
3
−
1
View file @
8fae347b
...
...
@@ -82,7 +82,9 @@ void LLTranslate::translateMessage(LLHTTPClient::ResponderPtr &result, const std
//static
void
LLTranslate
::
getTranslateUrl
(
std
::
string
&
translate_url
,
const
std
::
string
&
from_lang
,
const
std
::
string
&
to_lang
,
const
std
::
string
&
mesg
)
{
std
::
string
escaped_mesg
=
curl_escape
(
mesg
.
c_str
(),
mesg
.
size
());
char
*
curl_str
=
curl_escape
(
mesg
.
c_str
(),
mesg
.
size
());
std
::
string
escaped_mesg
(
curl_str
);
curl_free
(
curl_str
);
translate_url
=
m_GoogleURL
+
escaped_mesg
+
m_GoogleLangSpec
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment