[libgda] Correction reported by cppcheck
- From: Vivien Malerba <vivien src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgda] Correction reported by cppcheck
- Date: Tue, 19 Oct 2010 20:18:28 +0000 (UTC)
commit f015b959df66ecbf735fdb8b3474f1efee8b2eba
Author: Vivien Malerba <malerba gnome-db org>
Date: Tue Oct 19 20:30:38 2010 +0200
Correction reported by cppcheck
libgda/binreloc/binreloc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgda/binreloc/binreloc.c b/libgda/binreloc/binreloc.c
index a4eac8c..f8a37d1 100644
--- a/libgda/binreloc/binreloc.c
+++ b/libgda/binreloc/binreloc.c
@@ -249,7 +249,7 @@ _br_find_exe_for_symbol (
* then transform that into a pointer. */
if (address_string_len < len + 3) {
address_string_len = len + 3;
- address_string = (char *) g_try_realloc (address_string, address_string_len);
+ address_string = (char *) g_realloc (address_string, address_string_len);
}
memcpy (address_string, "0x", 2);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]