Fossil

Check-in [1ce0ac53]
Login

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

Overview
Comment:fixed a string memleak in baseline_zip_page()
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 1ce0ac53ef7c7e1f48fa63e4b5869a4f8c057103
User & Date: stephan 2008-02-12 00:31:48.000
Context
2008-02-13
12:39
Update homepage with links to competing projects. ... (check-in: 852dbbb6 user: drh tags: trunk)
2008-02-12
00:31
fixed a string memleak in baseline_zip_page() ... (check-in: 1ce0ac53 user: stephan tags: trunk)
2008-02-09
09:21
Fix grammar ... (check-in: c1d9e0f4 user: bch tags: trunk)
Changes
Unified Diff Ignore Whitespace Patch
Changes to src/zip.c.
370
371
372
373
374
375
376

377
378
379
380
  rid = name_to_rid(zName);
  if( rid==0 ){
    @ Not found
    return;
  }
  if( nName>10 ) zName[10] = 0;
  zip_of_baseline(rid, &zip, zName);

  cgi_set_content(&zip);
  cgi_set_content_type("application/zip");
  cgi_reply();
}







>




370
371
372
373
374
375
376
377
378
379
380
381
  rid = name_to_rid(zName);
  if( rid==0 ){
    @ Not found
    return;
  }
  if( nName>10 ) zName[10] = 0;
  zip_of_baseline(rid, &zip, zName);
  free( zName );
  cgi_set_content(&zip);
  cgi_set_content_type("application/zip");
  cgi_reply();
}