Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Issue 4097004: Use g_strdup() instead of strdup(). (Closed)

Created:
10 years, 1 month ago by satorux1
Modified:
9 years, 7 months ago
Reviewers:
petkov
CC:
chromium-os-reviews_chromium.org, petkov, adlr, Peng
Visibility:
Public.

Description

Use g_strdup() instead of strdup(). The strings are freed in dbus-glib with g_free(), hence we should use g_strdup(). TEST=confirmed that update_engine worked as before BUG=chromium-os:8197 Change-Id: Idf07d1ded34b7f55ac78d16b74fabb5701038068 Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=d698231

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -3 lines) Patch
M dbus_service.cc View 2 chunks +3 lines, -3 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
satorux1
This is not a high priority change. I'll submit this once the R9 busy time ...
10 years, 1 month ago (2010-10-27 09:06:42 UTC) #1
petkov
10 years, 1 month ago (2010-10-27 16:28:05 UTC) #2
LGTM -- thanks!

Powered by Google App Engine
This is Rietveld 408576698