/[LeafOK_CVS]/lbbs/src/section_list_loader.c
ViewVC logotype

Diff of /lbbs/src/section_list_loader.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.30 by sysadm, Sat Jun 21 02:15:18 2025 UTC Revision 1.31 by sysadm, Sat Jun 21 06:52:24 2025 UTC
# Line 153  int load_section_config_from_db(void) Line 153  int load_section_config_from_db(void)
153          }          }
154    
155  cleanup:  cleanup:
156            mysql_free_result(rs2);
157          mysql_free_result(rs);          mysql_free_result(rs);
158          mysql_close(db);          mysql_close(db);
159    
# Line 320  cleanup: Line 321  cleanup:
321          mysql_free_result(rs);          mysql_free_result(rs);
322          mysql_close(db);          mysql_close(db);
323    
324            article_cache_cleanup();
325    
326          return (ret < 0 ? ret : article_count);          return (ret < 0 ? ret : article_count);
327  }  }
328    
# Line 747  int section_list_loader_launch(void) Line 750  int section_list_loader_launch(void)
750    
751          // Child process exit          // Child process exit
752    
753            article_cache_cleanup();
754    
755          // Detach data pools shm          // Detach data pools shm
756          detach_section_list_shm();          detach_section_list_shm();
757          detach_article_block_shm();          detach_article_block_shm();


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

webmaster@leafok.com
ViewVC Help
Powered by ViewVC 1.3.0-beta1