Fossil

Check-in [336e1355]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Fix another faulty though harmless memset() initialization.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:336e1355b927fe34991368af8b35b27a7a52dbc9
User & Date: drh 2012-07-27 00:26:26
References
2012-08-03
18:41
merged in [336e1355b927f]. Closed-Leaf check-in: 82e78034 user: stephan tags: th1-query-api
Context
2012-08-06
11:15
Fix minor documentation typo. check-in: 372879b3 user: drh tags: trunk
2012-08-03
18:41
merged in [336e1355b927f]. Closed-Leaf check-in: 82e78034 user: stephan tags: th1-query-api
2012-07-27
00:26
Fix another faulty though harmless memset() initialization. check-in: 336e1355 user: drh tags: trunk
00:00
Fix a faulty (but harmless) initialization in the MD5 code. check-in: ed005e30 user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/path.c.

87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
  PathNode *p;
  while( path.pAll ){
    p = path.pAll;
    path.pAll = p->pAll;
    fossil_free(p);
  }
  bag_clear(&path.seen);
  memset(&path, 0, sizeof(&path));
}

/*
** Construct the path from path.pStart to path.pEnd in the u.pTo fields.
*/
static void path_reverse_path(void){
  PathNode *p;







|







87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
  PathNode *p;
  while( path.pAll ){
    p = path.pAll;
    path.pAll = p->pAll;
    fossil_free(p);
  }
  bag_clear(&path.seen);
  memset(&path, 0, sizeof(path));
}

/*
** Construct the path from path.pStart to path.pEnd in the u.pTo fields.
*/
static void path_reverse_path(void){
  PathNode *p;